From 5c7cde2e1dae20e90621f3781edef35be683769a Mon Sep 17 00:00:00 2001 From: Ganesh Vanahalli Date: Thu, 14 Nov 2024 19:02:43 +0530 Subject: [PATCH] address PR comments --- internal/ethapi/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index ca029bb45e..b9740d9d45 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -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