mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-23 17:47:29 +00:00
Short circuit handshake if default account does not exist.
This commit is contained in:
parent
a6e0f3bc2a
commit
3e2f67fda7
1 changed files with 3 additions and 1 deletions
|
@ -581,7 +581,9 @@ func Handshake(rpc RPCConn) error {
|
||||||
// track recently-seen blocks.
|
// track recently-seen blocks.
|
||||||
a, err := accountstore.Account("")
|
a, err := accountstore.Account("")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
// No account yet is not a handshake error, but means our
|
||||||
|
// handshake is done.
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(jrick): if height is less than the earliest-saved block
|
// TODO(jrick): if height is less than the earliest-saved block
|
||||||
|
|
Loading…
Add table
Reference in a new issue