mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-12 15:03:45 +00:00
init : remove exit on keystore err
This commit is contained in:
parent
19fe8b41d2
commit
9cba79edee
1 changed files with 1 additions and 1 deletions
|
|
@ -722,7 +722,7 @@ func (c *Config) buildEth(stack *node.Node, accountManager *accounts.Manager) (*
|
||||||
for i, account := range c.Accounts.Unlock {
|
for i, account := range c.Accounts.Unlock {
|
||||||
err = ks.Unlock(accounts.Account{Address: common.HexToAddress(account)}, passwords[i])
|
err = ks.Unlock(accounts.Account{Address: common.HexToAddress(account)}, passwords[i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("could not unlock an account %q", account)
|
log.Warn("Could not unlock account", "account", account, "err", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue