Commit d9691971 authored by yann300's avatar yann300

linting

parent 0bdcba42
...@@ -16,7 +16,6 @@ export class TxRunnerWeb3 { ...@@ -16,7 +16,6 @@ export class TxRunnerWeb3 {
} }
_executeTx (tx, network, txFee, api, promptCb, callback) { _executeTx (tx, network, txFee, api, promptCb, callback) {
if (network && network.lastBlock && network.lastBlock.baseFeePerGas) { if (network && network.lastBlock && network.lastBlock.baseFeePerGas) {
// the sending stack (web3.js / metamask need to have the type defined) // the sending stack (web3.js / metamask need to have the type defined)
// this is to avoid the following issue: https://github.com/MetaMask/metamask-extension/issues/11824 // this is to avoid the following issue: https://github.com/MetaMask/metamask-extension/issues/11824
...@@ -114,7 +113,7 @@ export class TxRunnerWeb3 { ...@@ -114,7 +113,7 @@ export class TxRunnerWeb3 {
if (this._api.config.getUnpersistedProperty('doNotShowTransactionConfirmationAgain')) { if (this._api.config.getUnpersistedProperty('doNotShowTransactionConfirmationAgain')) {
return this._executeTx(tx, network, null, this._api, promptCb, callback) return this._executeTx(tx, network, null, this._api, promptCb, callback)
} }
confirmCb(network, tx, tx['gas'], (txFee) => { confirmCb(network, tx, tx['gas'], (txFee) => {
return this._executeTx(tx, network, txFee, this._api, promptCb, callback) return this._executeTx(tx, network, txFee, this._api, promptCb, callback)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment