Skip to content

Commit

Permalink
🚑️ Fix gas is overestimated by 9 digit
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Nov 17, 2023
1 parent bc145da commit 8ceed0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/IscnRegisterForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 8ceed0d

Please sign in to comment.