fix: gasParams check

This commit is contained in:
Danil Kovtonyuk 2022-07-13 16:50:09 +10:00
parent e39cf2825d
commit 2c17b8c3a4
No known key found for this signature in database
GPG Key ID: E72A919BF08C3746
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}