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 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;
}