mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
Update api_debug.go
This commit is contained in:
parent
f4817b7a53
commit
ff125f4dad
1 changed files with 2 additions and 2 deletions
|
|
@ -253,8 +253,8 @@ func storageRangeAt(statedb *state.StateDB, root common.Hash, address common.Add
|
||||||
}
|
}
|
||||||
e := storageEntry{Value: common.BytesToHash(content)}
|
e := storageEntry{Value: common.BytesToHash(content)}
|
||||||
if preimage := tr.GetKey(it.Key); preimage != nil {
|
if preimage := tr.GetKey(it.Key); preimage != nil {
|
||||||
preimage := common.BytesToHash(preimage)
|
hash := common.BytesToHash(preimage)
|
||||||
e.Key = &preimage
|
e.Key = &hash
|
||||||
}
|
}
|
||||||
result.Storage[common.BytesToHash(it.Key)] = e
|
result.Storage[common.BytesToHash(it.Key)] = e
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue