accounts/keystore: remove uneeded syntax (#21921)

This commit is contained in:
Daniel Liu 2025-01-14 10:56:12 +08:00
parent 4e23f7b607
commit 2ffdb94855

View file

@ -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{