aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/merchant-api-types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-11-21 15:00:14 +0100
committerFlorian Dold <florian@dold.me>2023-11-21 15:00:24 +0100
commit6000a55d583832a71335310514688f1f6faed722 (patch)
treec9b5ae2ca9f2511c75e3ed375ae5bbeade44ac66 /packages/taler-util/src/merchant-api-types.ts
parent77eb29cb7caf50e870ada861a4ef83712a31a1cb (diff)
downloadwallet-core-6000a55d583832a71335310514688f1f6faed722.tar.xz
towards a currency conversion integration test
Diffstat (limited to 'packages/taler-util/src/merchant-api-types.ts')
-rw-r--r--packages/taler-util/src/merchant-api-types.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-util/src/merchant-api-types.ts b/packages/taler-util/src/merchant-api-types.ts
index 9a7740088..999246597 100644
--- a/packages/taler-util/src/merchant-api-types.ts
+++ b/packages/taler-util/src/merchant-api-types.ts
@@ -44,8 +44,8 @@ import {
TalerProtocolDuration,
codecForTimestamp,
TalerProtocolTimestamp,
- WireAccount,
- codecForWireAccount,
+ ExchangeWireAccount,
+ codecForExchangeWireAccount,
codecForList,
FacadeCredentials,
} from "@gnu-taler/taler-util";
@@ -376,13 +376,13 @@ export interface MerchantReserveCreateConfirmation {
reserve_pub: EddsaPublicKeyString;
// Wire accounts of the exchange where to transfer the funds.
- accounts: WireAccount[];
+ accounts: ExchangeWireAccount[];
}
export const codecForMerchantReserveCreateConfirmation =
(): Codec<MerchantReserveCreateConfirmation> =>
buildCodecForObject<MerchantReserveCreateConfirmation>()
- .property("accounts", codecForList(codecForWireAccount()))
+ .property("accounts", codecForList(codecForExchangeWireAccount()))
.property("reserve_pub", codecForString())
.build("MerchantReserveCreateConfirmation");