diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/merchant_api_post_order_abort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/merchant_api_post_order_abort.c b/src/lib/merchant_api_post_order_abort.c index f1a8fc42..f3c8224d 100644 --- a/src/lib/merchant_api_post_order_abort.c +++ b/src/lib/merchant_api_post_order_abort.c @@ -138,7 +138,7 @@ check_abort_refund (struct TALER_MERCHANT_OrderAbortHandle *oah, uint32_t exchange_status; json_t *exchange_reply; struct GNUNET_JSON_Specification spec_es[] = { - GNUNET_JSON_spec_uint32 ("exchange_status", + GNUNET_JSON_spec_uint32 ("exchange_http_status", &exchange_status), GNUNET_JSON_spec_json ("exchange_reply", &exchange_reply), @@ -179,7 +179,7 @@ check_abort_refund (struct TALER_MERCHANT_OrderAbortHandle *oah, { struct TALER_RefundConfirmationPS rr = { - .purpose.purpose = htonl (TALER_SIGNATURE_MERCHANT_REFUND), + .purpose.purpose = htonl (TALER_SIGNATURE_EXCHANGE_CONFIRM_REFUND), .purpose.size = htonl (sizeof (rr)), .h_contract_terms = oah->h_contract_terms, .coin_pub = oah->coins[i].coin_pub, |