summaryrefslogtreecommitdiff
path: root/src/operations/history.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/operations/history.ts')
-rw-r--r--src/operations/history.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/operations/history.ts b/src/operations/history.ts
index edb4d9f27..b043e4a90 100644
--- a/src/operations/history.ts
+++ b/src/operations/history.ts
@@ -333,7 +333,7 @@ export async function getHistory(
amountsRaw.push(c.currentAmount);
}
}
- let amountRefreshedRaw = Amounts.sum(amountsRaw).amount;
+ const amountRefreshedRaw = Amounts.sum(amountsRaw).amount;
let amountRefreshedEffective: AmountJson;
if (amountsEffective.length == 0) {
amountRefreshedEffective = Amounts.getZero(