diff options
author | Sebastian <sebasjm@gmail.com> | 2023-06-16 09:40:45 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-06-16 09:40:45 -0300 |
commit | 444c5427f41f8030b117a7d3589219abfa60bd1c (patch) | |
tree | f33b276528a0369452f25987522328b46f8f8552 /packages/taler-wallet-core/src/util/denominations.ts | |
parent | d97f440f255966c4231c6c4923a3fff9662a58fd (diff) | |
download | wallet-core-444c5427f41f8030b117a7d3589219abfa60bd1c.tar.xz |
remove some type literal and pretty
Diffstat (limited to 'packages/taler-wallet-core/src/util/denominations.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/denominations.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/util/denominations.ts b/packages/taler-wallet-core/src/util/denominations.ts index 2b2faa458..76716cf7a 100644 --- a/packages/taler-wallet-core/src/util/denominations.ts +++ b/packages/taler-wallet-core/src/util/denominations.ts @@ -458,7 +458,9 @@ export function isWithdrawableDenom( ): boolean { const now = AbsoluteTime.now(); const start = AbsoluteTime.fromProtocolTimestamp(d.stampStart); - const withdrawExpire = AbsoluteTime.fromProtocolTimestamp(d.stampExpireWithdraw); + const withdrawExpire = AbsoluteTime.fromProtocolTimestamp( + d.stampExpireWithdraw, + ); const started = AbsoluteTime.cmp(now, start) >= 0; let lastPossibleWithdraw: AbsoluteTime; if (denomselAllowLate) { |