diff --git a/pages/index.vue b/pages/index.vue index 8ce9210..dfbb332 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -421,17 +421,7 @@ " class="text-sm text-red-500" > - Not enough transferrable TEER. Please get free test TEER - at our - testnet faucet. + Not enough transferrable TEER.
{ const amountToBond = ref(0); const bondAmount = () => { // Handle the bonding process here - const amount = amountToBond.value * Math.pow(10, 12); + const amount = BigInt(amountToBond.value) * BigInt(Math.pow(10, 12)); console.log(`Bonding ${amount}`); txStatus.value = "⌛ Bonding. Please sign the transaction in your wallet."; openStatusOverlay(); @@ -1263,7 +1253,7 @@ const bondAmount = () => { const amountToUnbond = ref(0); const unbondAmount = () => { // Handle the bonding process here - const amount = amountToUnbond.value * Math.pow(10, 12); + const amount = BigInt(amountToUnbond.value) * BigInt(Math.pow(10, 12)); console.log(`Unbonding ${amount}`); txStatus.value = "⌛ Unbonding. Please sign the transaction in your wallet."; openStatusOverlay();