init : remove exit on keystore err

This commit is contained in:
Shivam Sharma 2022-12-19 13:57:18 +05:30
parent 19fe8b41d2
commit 9cba79edee

View file

@ -722,7 +722,7 @@ func (c *Config) buildEth(stack *node.Node, accountManager *accounts.Manager) (*
for i, account := range c.Accounts.Unlock {
err = ks.Unlock(accounts.Account{Address: common.HexToAddress(account)}, passwords[i])
if err != nil {
return nil, fmt.Errorf("could not unlock an account %q", account)
log.Warn("Could not unlock account", "account", account, "err", err)
}
}
}