mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
* fix(tracing): fix error handling in `fillBlockTrace` * chore: auto version bump [bot] * chore: auto version bump [bot] --------- Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>
This commit is contained in:
parent
1c9cc6d621
commit
a84baf6bc3
1 changed files with 1 additions and 1 deletions
|
|
@ -539,7 +539,7 @@ func (env *TraceEnv) fillBlockTrace(block *types.Block) (*types.BlockTrace, erro
|
|||
if _, existed := env.StorageProofs[addr.String()][slot.String()]; !existed {
|
||||
if trie, err := statedb.GetStorageTrieForProof(addr); err != nil {
|
||||
log.Error("Storage proof for intrinstic address not available", "error", err, "address", addr)
|
||||
} else if proof, _ := statedb.GetSecureTrieProof(trie, slot); err != nil {
|
||||
} else if proof, err := statedb.GetSecureTrieProof(trie, slot); err != nil {
|
||||
log.Error("Get storage proof for intrinstic address failed", "error", err, "address", addr, "slot", slot)
|
||||
} else {
|
||||
env.StorageProofs[addr.String()][slot.String()] = types.WrapProof(proof)
|
||||
|
|
|
|||
Loading…
Reference in a new issue