Skip to content

Commit

Permalink
Merge pull request #56 from eosnetworkfoundation/quickfix
Browse files Browse the repository at this point in the history
fix gas price
  • Loading branch information
yarkinwho authored Sep 27, 2023
2 parents 2ae91a4 + f12974d commit 450fe9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ export default {
if (!window.confirm(this.$t('home.transferConfirm', [this.amount, this.tokenName(), this.targetAddress]))) {
return
}
this.gasPrice = await this.web3.eth.getGasPrice();
this.gas = await this.web3.eth.estimateGas(await this.prepareTx(null));
var vm = this
Expand Down

0 comments on commit 450fe9b

Please sign in to comment.