diff options
Diffstat (limited to 'src/lib/merchant_api_wallet_get_order.c')
-rw-r--r-- | src/lib/merchant_api_wallet_get_order.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/merchant_api_wallet_get_order.c b/src/lib/merchant_api_wallet_get_order.c index 1866fc66..5979e69f 100644 --- a/src/lib/merchant_api_wallet_get_order.c +++ b/src/lib/merchant_api_wallet_get_order.c @@ -79,7 +79,7 @@ cb_failure (struct TALER_MERCHANT_OrderWalletGetHandle *owgh, const json_t *reply) { struct TALER_MERCHANT_HttpResponse hr = { - .ec = TALER_EC_CHECK_PAYMENT_RESPONSE_MALFORMED, + .ec = ec, .reply = reply }; @@ -138,7 +138,7 @@ handle_wallet_get_order_finished (void *cls, { GNUNET_break_op (0); cb_failure (owgh, - TALER_EC_CHECK_PAYMENT_RESPONSE_MALFORMED, + TALER_EC_GENERIC_REPLY_MALFORMED, json); TALER_MERCHANT_wallet_order_get_cancel (owgh); return; @@ -166,7 +166,7 @@ handle_wallet_get_order_finished (void *cls, { GNUNET_break_op (0); cb_failure (owgh, - TALER_EC_CHECK_PAYMENT_RESPONSE_MALFORMED, + TALER_EC_GENERIC_REPLY_MALFORMED, json); } else |