mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 13:44:31 +00:00
Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
parent
06d94520ba
commit
da624be994
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ func (s *StateDB) DumpToCollector(c DumpCollector, excludeCode, excludeStorage,
|
|||
account.SecureKey = it.Key
|
||||
}
|
||||
addr := common.BytesToAddress(addrBytes)
|
||||
obj := newObject(nil, addr, data)
|
||||
obj := newObject(s, addr, data)
|
||||
if !excludeCode {
|
||||
account.Code = common.Bytes2Hex(obj.Code(s.db))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue