diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-06-03 16:46:25 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-06-03 16:46:25 +0530 |
commit | 83af702f1cae043902e23e9358c3e036ddca8d33 (patch) | |
tree | 3b27fa06fd890406224a0cc4e074d9bd9457230d /src/util | |
parent | 77c61e738181561979da64a480fe21f70f6fe1f4 (diff) |
re-indent with latest version of prettier
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/amounts.ts | 2 | ||||
-rw-r--r-- | src/util/time.ts | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/util/amounts.ts b/src/util/amounts.ts index cdb98b0f2..c0bb03619 100644 --- a/src/util/amounts.ts +++ b/src/util/amounts.ts @@ -342,7 +342,7 @@ function mult(a: AmountJson, n: number): Result { if (n == 0) { return { amount: getZero(a.currency), saturated: false }; } - let acc = {... a}; + let acc = { ...a }; while (n > 1) { let r: Result; if (n % 2 == 0) { diff --git a/src/util/time.ts b/src/util/time.ts index f296aba12..5c2f49d12 100644 --- a/src/util/time.ts +++ b/src/util/time.ts @@ -49,7 +49,6 @@ export function getTimestampNow(): Timestamp { export function getDurationRemaining( deadline: Timestamp, now = getTimestampNow(), - ): Duration { if (deadline.t_ms === "never") { return { d_ms: "forever" }; |