Skip to content

Commit

Permalink
Update eth/api.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
  • Loading branch information
jwasinger and s1na committed May 26, 2023
1 parent ade95cc commit 36b4b4b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions eth/api.go
Expand Up @@ -410,8 +410,6 @@ type storageEntry struct {

// StorageRangeAt returns the storage at the given block height and transaction index.
func (api *DebugAPI) StorageRangeAt(ctx context.Context, blockNrOrHash rpc.BlockNumberOrHash, txIndex int, contractAddress common.Address, keyStart hexutil.Bytes, maxResult int) (StorageRangeResult, error) {
var block *types.Block

block, err := api.eth.APIBackend.BlockByNumberOrHash(ctx, blockNrOrHash)
if err != nil {
return StorageRangeResult{}, err
Expand Down

0 comments on commit 36b4b4b

Please sign in to comment.