Skip to content

Commit

Permalink
Update eth/api.go
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Holst Swende <martin@swende.se>
  • Loading branch information
jwasinger and holiman committed May 24, 2023
1 parent d6b5a98 commit 23070e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ func (api *DebugAPI) StorageRangeAt(ctx context.Context, blockNrOrHash rpc.Block
}

if block == nil {
return StorageRangeResult{}, fmt.Errorf("block %d not found", block)
return StorageRangeResult{}, fmt.Errorf("block %v not found", blockNrOrHash)
}
_, _, statedb, release, err := api.eth.stateAtTransaction(ctx, block, txIndex, 0)
if err != nil {
Expand Down

0 comments on commit 23070e9

Please sign in to comment.