Skip to content

Commit 549ffc6

Browse files
committed
Replace EffectiveGasTipValue() with EffectiveGasTip() as it was removed
1 parent 04c696e commit 549ffc6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

models/transaction.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,10 @@ func decodeTransactionEvent(event cadence.Event) (
301301
if gethTx.GasPrice().Sign() == 0 {
302302
receipt.EffectiveGasPrice = BaseFeePerGas
303303
} else {
304-
receipt.EffectiveGasPrice = gethTx.EffectiveGasTipValue(nil)
304+
receipt.EffectiveGasPrice, err = gethTx.EffectiveGasTip(nil)
305+
if err != nil {
306+
return nil, nil, nil, err
307+
}
305308
}
306309
tx = TransactionCall{Transaction: gethTx}
307310
}

0 commit comments

Comments
 (0)