Skip to content
This repository was archived by the owner on Jan 1, 2026. It is now read-only.

Commit d7ab632

Browse files
committed
Stupid mistake in amount computation fixed.
1 parent bd61f93 commit d7ab632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/controllers/amount.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ angular.module('canoeApp.controllers').controller('amountController', function (
342342
var big
343343
if (unit.isFiat) {
344344
big = new BigNumber(fromFiat(amount))
345-
amount = (big.dividedBy(unitToRaw)).toFixed(0)
345+
amount = (big.times(unitToRaw)).toFixed(0)
346346
} else {
347347
big = new BigNumber(amount)
348348
amount = (big.times(unitToRaw)).toFixed(0)

0 commit comments

Comments
 (0)