replace static 18n

This commit is contained in:
EmberSpirit
2023-10-23 22:09:42 +02:00
parent fcf6133a47
commit cc3fb88d1e
+1 -1
View File
@@ -30,7 +30,7 @@
:modelValue="sacrificeStore.sacrificeNumber / 10n ** activeToken.decimals" :modelValue="sacrificeStore.sacrificeNumber / 10n ** activeToken.decimals"
@input=" @input="
($event) => { ($event) => {
const value = BigInt($event.target.value) * 10n ** 18n; const value = BigInt($event.target.value) * 10n ** activeToken.decimals;
sacrificeStore.sacrificeNumber = value; sacrificeStore.sacrificeNumber = value;
processChange(value); processChange(value);
} }