diff --git a/packages/taler-util/src/taler-types.ts b/packages/taler-util/src/taler-types.ts index eaba1ae3d..d8fdc2519 100644 --- a/packages/taler-util/src/taler-types.ts +++ b/packages/taler-util/src/taler-types.ts @@ -1922,22 +1922,13 @@ export interface BatchDepositSuccess { // Array of deposit confirmation signatures from the exchange // Entries must be in the same order the coins were given // in the batch deposit request. - exchange_sigs: DepositConfirmationSignature[]; + exchange_sig: EddsaSignatureString; } -export const codecForDepositConfirmationSignature = - (): Codec => - buildCodecForObject() - .property("exchange_sig", codecForString()) - .build("DepositConfirmationSignature"); - export const codecForBatchDepositSuccess = (): Codec => buildCodecForObject() .property("exchange_pub", codecForString()) - .property( - "exchange_sigs", - codecForList(codecForDepositConfirmationSignature()), - ) + .property("exchange_sig", codecForString()) .property("exchange_timestamp", codecForTimestamp) .property("transaction_base_url", codecOptional(codecForString())) .build("BatchDepositSuccess");