summaryrefslogtreecommitdiff
path: root/src/util/amounts.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/amounts.ts')
-rw-r--r--src/util/amounts.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/amounts.ts b/src/util/amounts.ts
index cdb98b0f2..c0bb03619 100644
--- a/src/util/amounts.ts
+++ b/src/util/amounts.ts
@@ -342,7 +342,7 @@ function mult(a: AmountJson, n: number): Result {
if (n == 0) {
return { amount: getZero(a.currency), saturated: false };
}
- let acc = {... a};
+ let acc = { ...a };
while (n > 1) {
let r: Result;
if (n % 2 == 0) {