Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoe committed Oct 20, 2024
1 parent 291c84d commit 29b551c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/evm/jsonrpc/evmchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,6 @@ func (e *EVMChain) GetRawBlock(blockNrOrHash rpc.BlockNumberOrHash) (hexutil.Byt
block = e.BlockByHash(h)
} else if n, ok := blockNrOrHash.Number(); ok {
block, err = e.BlockByNumber(big.NewInt(n.Int64()))

if err != nil {
return nil, err
}
Expand All @@ -808,7 +807,6 @@ func (e *EVMChain) GetBlockReceipts(blockNrOrHash rpc.BlockNumberOrHash) ([]*typ
block = e.BlockByHash(h)
} else if n, ok := blockNrOrHash.Number(); ok {
block, err = e.BlockByNumber(parseBlockNumber(n))

if err != nil {
return nil, nil, err
}
Expand Down

0 comments on commit 29b551c

Please sign in to comment.