Skip to content

Commit

Permalink
address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshvanahalli committed Nov 14, 2024
1 parent b6abba0 commit 5c7cde2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1968,8 +1968,8 @@ func marshalReceipt(ctx context.Context, receipt *types.Receipt, blockHash commo
if err != nil {
return nil, err
}
if blockMetadata != nil && blockMetadata.IsTxTimeboosted(txIndex) {
fields["timeboosted"] = true
if blockMetadata != nil {
fields["timeboosted"] = blockMetadata.IsTxTimeboosted(txIndex)
}
}
return fields, nil
Expand Down

0 comments on commit 5c7cde2

Please sign in to comment.