From 2ac490a5b73a0d746af93805ca342967b3da9b2c Mon Sep 17 00:00:00 2001 From: joemarct Date: Sun, 25 Aug 2024 21:50:14 +0800 Subject: [PATCH] Fixed minor bugs in sweeping fungible cashtokens --- src/pages/apps/sweep.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/apps/sweep.vue b/src/pages/apps/sweep.vue index 866dbc8a3..c1f154de1 100644 --- a/src/pages/apps/sweep.vue +++ b/src/pages/apps/sweep.vue @@ -375,7 +375,7 @@ export default { if (!decimals) return value const multiplier = 10 ** decimals - return Math.round(value * multiplier) / multiplier + return Math.round(value / multiplier) }, ellipsisText (value) { if (typeof value !== 'string') return '' @@ -414,7 +414,7 @@ export default { this.nonFungibleCashTokens = results }), this.sweeper.getFungibleCashTokens().then(results => { - t,his.fungibleCashTokens = results + this.fungibleCashTokens = results }), this.sweeper.getTokensList().then((tokens) => { this.tokens = tokens.filter(token => token.spendable)