Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Oct 17, 2024
1 parent 81176b4 commit 0b32b32
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/submodule/eth/eth_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1464,14 +1464,13 @@ func (a *ethAPI) EthTraceFilter(ctx context.Context, filter types.EthTraceFilter
continue
}

txTrace := types.EthTraceFilterResult{
results = append(results, &types.EthTraceFilterResult{
EthTrace: blockTrace.EthTrace,
BlockHash: blockTrace.BlockHash,
BlockNumber: blockTrace.BlockNumber,
TransactionHash: blockTrace.TransactionHash,
TransactionPosition: blockTrace.TransactionPosition,
}
results = append(results, &txTrace)
})

// If Count is specified, limit the results
if filter.Count != nil && types.EthUint64(len(results)) >= *filter.Count {
Expand Down

0 comments on commit 0b32b32

Please sign in to comment.