Skip to content

Commit

Permalink
Fixed minor bugs in sweeping fungible cashtokens
Browse files Browse the repository at this point in the history
  • Loading branch information
joemarct committed Aug 25, 2024
1 parent 1aa80c2 commit 2ac490a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/apps/sweep.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 ''
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2ac490a

Please sign in to comment.