diff --git a/core/state/dump.go b/core/state/dump.go index 0c5e58f051..8224e160b6 100644 --- a/core/state/dump.go +++ b/core/state/dump.go @@ -126,7 +126,7 @@ func (s *StateDB) dump(c collector, excludeCode, excludeStorage, excludeMissingP if excludeMissingPreimages { continue } - account.SecureKey = it.Key + account.SecureKey = it.Key } addr := common.BytesToAddress(addrBytes) obj := newObject(nil, addr, data)