aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/util/instructedAmountConversion.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-09-08 13:33:21 +0200
committerFlorian Dold <florian@dold.me>2023-09-08 13:33:21 +0200
commit4898f50db777a68cd2ddd0c1e323ef55033f4af7 (patch)
tree82b241ffc35413c6653d781e381f3d47f7ffd544 /packages/taler-wallet-core/src/util/instructedAmountConversion.ts
parent2ae952cdfa8f38a650be8e4438c21bace2f24c19 (diff)
downloadwallet-core-4898f50db777a68cd2ddd0c1e323ef55033f4af7.tar.xz
wallet-core: more DB cleanup
Diffstat (limited to 'packages/taler-wallet-core/src/util/instructedAmountConversion.ts')
-rw-r--r--packages/taler-wallet-core/src/util/instructedAmountConversion.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/util/instructedAmountConversion.ts b/packages/taler-wallet-core/src/util/instructedAmountConversion.ts
index bd02e7b22..54c08eee4 100644
--- a/packages/taler-wallet-core/src/util/instructedAmountConversion.ts
+++ b/packages/taler-wallet-core/src/util/instructedAmountConversion.ts
@@ -321,7 +321,7 @@ function buildCoinInfoFromDenom(
AbsoluteTime.fromProtocolTimestamp(denom.stampExpireDeposit),
),
totalAvailable: total,
- value: DenominationRecord.getValue(denom),
+ value: Amounts.parseOrThrow(denom.value),
maxAge,
};
}