aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/common.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-10-02 23:24:06 +0200
committerFlorian Dold <florian@dold.me>2023-10-02 23:24:06 +0200
commit8e70b89593a375bb19432e6521daed618ae779f5 (patch)
treec44131dcd82f7b58244611fab1dc85c44b847899 /packages/taler-wallet-core/src/operations/common.ts
parent671bbf29548e2ec078b29e75e368d77ee7bdb81f (diff)
downloadwallet-core-8e70b89593a375bb19432e6521daed618ae779f5.tar.xz
wallet-core: currency hint for preset exchanges
Diffstat (limited to 'packages/taler-wallet-core/src/operations/common.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/common.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/common.ts b/packages/taler-wallet-core/src/operations/common.ts
index e8e492c08..b28a5363d 100644
--- a/packages/taler-wallet-core/src/operations/common.ts
+++ b/packages/taler-wallet-core/src/operations/common.ts
@@ -593,7 +593,7 @@ export function makeExchangeListItem(
return {
exchangeBaseUrl: r.baseUrl,
- currency: exchangeDetails?.currency,
+ currency: exchangeDetails?.currency ?? r.presetCurrencyHint,
exchangeUpdateStatus,
exchangeEntryStatus,
tosStatus: exchangeDetails