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 e5c9697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 = iscnGasEstimation.fee.gas;
}
handleSignDialogClose() {
Expand Down Expand Up @@ -1439,7 +1439,7 @@ export default class IscnRegisterForm extends Vue {
formatISCNTxPayload(this.payload),
this.signer,
this.address,
{ gas: this.iscnGasFee },
{ gas:this.iscnGasFee },
)
this.uploadStatus = 'success'
this.$emit('txBroadcasted', res)
Expand Down

0 comments on commit e5c9697

Please sign in to comment.