replace static 18n
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user