Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chakra-guy committed Feb 14, 2024
1 parent 62410ef commit 75a1537
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ethrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ func (rpc *EthRPC) BatchGetLogsByRange(from, to int) ([][]Log, error) {
return batchedLogs, nil
}

// BatchGetBlocksAndLogs returns blocks and logs for a range in order, fetched in a single batched call
func (rpc *EthRPC) BatchGetBlocksAndLogs(numbers ...int) ([]*Block, [][]Log, error) {
var blockRequests []ethRequest
var logRequests []ethRequest
Expand Down

0 comments on commit 75a1537

Please sign in to comment.