diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-06 18:17:12 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-06 18:17:12 +0530 |
commit | c0861f0690425308e3e4126093f4edb2b105e64a (patch) | |
tree | d57074e18977159fb4883a14f92075dc59232b24 /packages/taler-wallet-core/src/types/talerTypes.ts | |
parent | cde4d13df8d9af64eccc82dd13965f2045c8f78c (diff) | |
download | wallet-core-c0861f0690425308e3e4126093f4edb2b105e64a.tar.xz |
handle permanent refund failure
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 |