Skip to content

Commit

Permalink
change return for EffectiveGas=0 to continue
Browse files Browse the repository at this point in the history
  • Loading branch information
jewei1997 committed Nov 16, 2024
1 parent 47a578b commit ffce275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evmrpc/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ func (f *LogFetcher) FindLogsByBloom(height int64, filters [][]bloomIndexes) (re
continue
}
if !f.includeSyntheticReceipts && receipt.EffectiveGasPrice == 0 {
return
continue

Check warning on line 380 in evmrpc/filter.go

View check run for this annotation

Codecov / codecov/patch

evmrpc/filter.go#L380

Added line #L380 was not covered by tests
}
if len(receipt.LogsBloom) > 0 && MatchFilters(ethtypes.Bloom(receipt.LogsBloom), filters) {
res = append(res, keeper.GetLogsForTx(receipt)...)
Expand Down

0 comments on commit ffce275

Please sign in to comment.