diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-04-06 21:15:41 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-04-06 21:15:41 +0530 |
commit | f36bb7a04eabe0330cb166bf9ce5021c92f38dc8 (patch) | |
tree | 9a242a06bd5353c8b167600c31776c9f16d9d21c /src/util/amounts.ts | |
parent | 07f25566ca51b7faf6462a57d15f4ebbfc733ab0 (diff) | |
download | wallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.xz |
linter
Diffstat (limited to 'src/util/amounts.ts')
-rw-r--r-- | src/util/amounts.ts | 2 |
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; } |