From 7944a36e30182638b35da6e113b29de8b5f16305 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 13 Apr 2023 14:16:06 +0200 Subject: wallet-core: check master public key in /wire response --- packages/taler-util/src/taler-types.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/taler-util/src') diff --git a/packages/taler-util/src/taler-types.ts b/packages/taler-util/src/taler-types.ts index 48eb49d22..f9e39e77e 100644 --- a/packages/taler-util/src/taler-types.ts +++ b/packages/taler-util/src/taler-types.ts @@ -843,6 +843,7 @@ export interface AccountInfo { } export interface ExchangeWireJson { + master_public_key: string; accounts: AccountInfo[]; fees: { [methodName: string]: WireFeesJson[] }; } @@ -1432,6 +1433,7 @@ export const codecForExchangeWireJson = (): Codec => buildCodecForObject() .property("accounts", codecForList(codecForAccountInfo())) .property("fees", codecForMap(codecForList(codecForWireFeesJson()))) + .property("master_public_key", codecForString()) .build("ExchangeWireJson"); export const codecForProposal = (): Codec => -- cgit v1.2.3