Skip to content

Commit

Permalink
Merge pull request #48 from eosnetworkfoundation/yarkin/revert_double…
Browse files Browse the repository at this point in the history
…_gas

[0.9] Revert the doubling of gas limit.
  • Loading branch information
yarkinwho authored Sep 26, 2023
2 parents a17932e + 35d2e23 commit 69f944f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,6 @@ export default {
}
this.gasPrice = await this.web3.eth.getGasPrice()
this.gas = await this.web3.eth.estimateGas(await this.prepareTx(null));
if (this.tokenName() != "EOS") {
this.gas = new BN(this.gas).mul(new BN(2)).toString()
}
},
async checkChainID() {
Expand Down Expand Up @@ -532,9 +529,6 @@ export default {
return
}
this.gas = await this.web3.eth.estimateGas(await this.prepareTx(null));
if (this.tokenName() != "EOS") {
this.gas = new BN(this.gas).mul(new BN(2)).toString()
}
var vm = this
Expand Down

0 comments on commit 69f944f

Please sign in to comment.