From 2c17b8c3a4dd2ce0c46c651fd870c50d0587ba62 Mon Sep 17 00:00:00 2001 From: Danil Kovtonyuk Date: Wed, 13 Jul 2022 16:50:09 +1000 Subject: [PATCH] fix: gasParams check --- src/Transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transaction.js b/src/Transaction.js index b3e212e..e236b13 100644 --- a/src/Transaction.js +++ b/src/Transaction.js @@ -177,7 +177,7 @@ class Transaction { this.tx.nonce = this.manager._nonce } - if (!this.tx.gasPrice && !this.tx.maxFeePerGas && !this.tx.maxPriorityFeePerGas) { + if (!this.tx.gasPrice && !this.tx.maxFeePerGas) { const gasParams = await this._getGasParams() this.tx = Object.assign(this.tx, gasParams) }