Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikspatil024 committed Sep 12, 2023
1 parent bce5615 commit 768308a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -1666,8 +1666,7 @@ func (s *StateDB) ValidateKnownAccounts(knownAccounts types.KnownAccounts) error
}
}
default:
trie, _ := s.StorageTrie(k)
return fmt.Errorf("invalid root hash for: %v root hash: %v actual root hash: %v", k, v.Single, trie.Hash())
return fmt.Errorf("impossible to validate known accounts: %v", k)
}
}

Expand Down

0 comments on commit 768308a

Please sign in to comment.