Skip to content

Commit

Permalink
accounts/keystore: remove uneeded syntax (ethereum#21921)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Jan 17, 2025
1 parent 81813e3 commit 447ce5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts/keystore/account_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func (ac *accountCache) scanAccounts() error {
switch {
case err != nil:
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")
default:
return &accounts.Account{
Expand Down

0 comments on commit 447ce5c

Please sign in to comment.