From 8ceed0d528b128df3d5cf439be2f90fd9445c373 Mon Sep 17 00:00:00 2001 From: William Chong Date: Sat, 18 Nov 2023 00:19:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20Fix=20gas=20is=20overes?= =?UTF-8?q?timated=20by=209=20digit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/IscnRegisterForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/IscnRegisterForm.vue b/components/IscnRegisterForm.vue index c2230a32..3279a5d9 100644 --- a/components/IscnRegisterForm.vue +++ b/components/IscnRegisterForm.vue @@ -1285,7 +1285,7 @@ export default class IscnRegisterForm extends Vue { this.iscnFee = new BigNumber(iscnFeeNanolike) .plus(iscnGasNanolike) .shiftedBy(-9); - this.iscnGasFee = iscnGasNanolike.integerValue().toString(); + this.iscnGasFee = new BigNumber(iscnGasEstimation.fee.gas).times(ISCN_GAS_MULTIPLIER).toFixed(0); } handleSignDialogClose() {