We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04c696e commit 549ffc6Copy full SHA for 549ffc6
models/transaction.go
@@ -301,7 +301,10 @@ func decodeTransactionEvent(event cadence.Event) (
301
if gethTx.GasPrice().Sign() == 0 {
302
receipt.EffectiveGasPrice = BaseFeePerGas
303
} else {
304
- receipt.EffectiveGasPrice = gethTx.EffectiveGasTipValue(nil)
+ receipt.EffectiveGasPrice, err = gethTx.EffectiveGasTip(nil)
305
+ if err != nil {
306
+ return nil, nil, nil, err
307
+ }
308
}
309
tx = TransactionCall{Transaction: gethTx}
310
0 commit comments