Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
vasapower committed Jul 12, 2021
1 parent faff795 commit b021614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spa/wallet/controller.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var WalletController = function (view) {
} catch (e) {
tokenAmounts[0].amount = '0'
}
cumulativeAmountDollar += tokenAmounts[0].amountDollars = ethereumPrice * parseFloat(window.fromDecimals(tokenAmounts[0].amount, 18));
cumulativeAmountDollar += tokenAmounts[0].amountDollars = ethereumPrice * parseFloat(window.fromDecimals(tokenAmounts[0].amount, 18, true));
var allAddresses = tokens.filter(it => it !== true && it !== false).map(it => window.web3.utils.toChecksumAddress(it.address));
var addresses = window.toSubArrays(allAddresses);
for (var address of addresses) {
Expand Down

0 comments on commit b021614

Please sign in to comment.