mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
accounts/keystore: remove uneeded syntax (#21921)
This commit is contained in:
parent
4e23f7b607
commit
2ffdb94855
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ func (ac *accountCache) scanAccounts() error {
|
||||||
switch {
|
switch {
|
||||||
case err != nil:
|
case err != nil:
|
||||||
log.Debug("Failed to decode keystore key", "path", path, "err", err)
|
log.Debug("Failed to decode keystore key", "path", path, "err", err)
|
||||||
case (addr == common.Address{}):
|
case addr == common.Address{}:
|
||||||
log.Debug("Failed to decode keystore key", "path", path, "err", "missing or zero address")
|
log.Debug("Failed to decode keystore key", "path", path, "err", "missing or zero address")
|
||||||
default:
|
default:
|
||||||
return &accounts.Account{
|
return &accounts.Account{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue