cmd/geth: fix compilation err

This commit is contained in:
Martin Holst Swende 2023-11-28 11:10:04 +01:00
parent b77ff88ef2
commit eb9e6d755e
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -572,7 +572,7 @@ func dumpState(ctx *cli.Context) error {
Nonce: account.Nonce, Nonce: account.Nonce,
Root: account.Root.Bytes(), Root: account.Root.Bytes(),
CodeHash: account.CodeHash, CodeHash: account.CodeHash,
SecureKey: accIt.Hash().Bytes(), AddressHash: accIt.Hash().Bytes(),
} }
if !conf.SkipCode && !bytes.Equal(account.CodeHash, types.EmptyCodeHash.Bytes()) { if !conf.SkipCode && !bytes.Equal(account.CodeHash, types.EmptyCodeHash.Bytes()) {
da.Code = rawdb.ReadCode(db, common.BytesToHash(account.CodeHash)) da.Code = rawdb.ReadCode(db, common.BytesToHash(account.CodeHash))