fix: gasParams check
This commit is contained in:
parent
e39cf2825d
commit
2c17b8c3a4
|
@ -177,7 +177,7 @@ class Transaction {
|
||||||
this.tx.nonce = this.manager._nonce
|
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()
|
const gasParams = await this._getGasParams()
|
||||||
this.tx = Object.assign(this.tx, gasParams)
|
this.tx = Object.assign(this.tx, gasParams)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue