Update api_debug.go

This commit is contained in:
oxBoni 2025-11-21 15:41:48 +01:00 committed by GitHub
parent f4817b7a53
commit ff125f4dad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -253,8 +253,8 @@ func storageRangeAt(statedb *state.StateDB, root common.Hash, address common.Add
}
e := storageEntry{Value: common.BytesToHash(content)}
if preimage := tr.GetKey(it.Key); preimage != nil {
preimage := common.BytesToHash(preimage)
e.Key = &preimage
hash := common.BytesToHash(preimage)
e.Key = &hash
}
result.Storage[common.BytesToHash(it.Key)] = e
}