diff --git a/src/components/SacrificeToken.vue b/src/components/SacrificeToken.vue index 25cf98a..b204432 100644 --- a/src/components/SacrificeToken.vue +++ b/src/components/SacrificeToken.vue @@ -30,7 +30,7 @@ :modelValue="sacrificeStore.sacrificeNumber / 10n ** activeToken.decimals" @input=" ($event) => { - const value = BigInt($event.target.value) * 10n ** 18n; + const value = BigInt($event.target.value) * 10n ** activeToken.decimals; sacrificeStore.sacrificeNumber = value; processChange(value); }