diff --git a/src/views/Home.vue b/src/views/Home.vue index f35b3ed..0e20d64 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -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