summaryrefslogtreecommitdiff
path: root/src/operations/history.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-06 21:15:41 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-06 21:15:41 +0530
commitf36bb7a04eabe0330cb166bf9ce5021c92f38dc8 (patch)
tree9a242a06bd5353c8b167600c31776c9f16d9d21c /src/operations/history.ts
parent07f25566ca51b7faf6462a57d15f4ebbfc733ab0 (diff)
downloadwallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.gz
wallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.bz2
wallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.zip
linter
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(