Skip to content

Commit

Permalink
filter logs from rawdb (#12309)
Browse files Browse the repository at this point in the history
Fix `eth_getLog` call log filtering in case when receipts are read from
rawdb.
  • Loading branch information
awskii authored Oct 14, 2024
1 parent 58777c7 commit 78b895b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turbo/jsonrpc/eth_receipts.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func (api *BaseAPI) getLogsV3(ctx context.Context, tx kv.TemporalTx, begin, end
log.TxHash = txn.Hash()
}
} else {
filtered = r.Logs
filtered = r.Logs.Filter(addrMap, crit.Topics, 0)
}

for _, filteredLog := range filtered {
Expand Down

0 comments on commit 78b895b

Please sign in to comment.