mirror of
https://github.com/status-im/status-go.git
synced 2025-01-24 21:49:54 +00:00
fix: fix returning correctly when the password is incorrect (#3738)
This commit is contained in:
parent
5fd9c5de66
commit
2a935100a0
@ -721,13 +721,12 @@ func (b *GethStatusBackend) StartNodeWithAccount(acc multiaccounts.Account, pass
|
||||
if err != nil {
|
||||
// Stop node for clean up
|
||||
_ = b.StopNode()
|
||||
return err
|
||||
}
|
||||
// get logged in
|
||||
if !b.localPairing {
|
||||
return b.LoggedIn(acc.KeyUID, err)
|
||||
}
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
||||
func (b *GethStatusBackend) LoggedIn(keyUID string, err error) error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user