diff options
Diffstat (limited to 'packages/taler-wallet-core/src/types/talerTypes.ts')
-rw-r--r-- | packages/taler-wallet-core/src/types/talerTypes.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/types/talerTypes.ts b/packages/taler-wallet-core/src/types/talerTypes.ts index 0b4afda11..c944f1561 100644 --- a/packages/taler-wallet-core/src/types/talerTypes.ts +++ b/packages/taler-wallet-core/src/types/talerTypes.ts @@ -1325,13 +1325,13 @@ export const codecForMerchantCoinRefundFailureStatus = (): Codec< buildCodecForObject<MerchantCoinRefundFailureStatus>() .property("type", codecForConstString("failure")) .property("coin_pub", codecForString()) - .property("exchange_status", codecForConstNumber(200)) + .property("exchange_status", codecForNumber()) .property("rtransaction_id", codecForNumber()) .property("refund_amount", codecForString()) .property("exchange_code", codecOptional(codecForNumber())) .property("exchange_reply", codecOptional(codecForAny())) .property("execution_time", codecForTimestamp) - .build("MerchantCoinRefundSuccessStatus"); + .build("MerchantCoinRefundFailureStatus"); export const codecForMerchantCoinRefundStatus = (): Codec< MerchantCoinRefundStatus |