summaryrefslogtreecommitdiff
path: root/src/util/amounts.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/util/amounts.ts
parent07f25566ca51b7faf6462a57d15f4ebbfc733ab0 (diff)
downloadwallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.gz
wallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.bz2
wallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.zip
linter
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 f9946393f..f0a4f1d72 100644
--- a/src/util/amounts.ts
+++ b/src/util/amounts.ts
@@ -260,7 +260,7 @@ export function parse(s: string): AmountJson | undefined {
if (tail.length > fractionalLength + 1) {
return undefined;
}
- let value = Number.parseInt(res[2]);
+ const value = Number.parseInt(res[2]);
if (value > maxAmountValue) {
return undefined;
}