diff options
Diffstat (limited to 'src/lib/merchant_api_wallet_post_order_refund.c')
-rw-r--r-- | src/lib/merchant_api_wallet_post_order_refund.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/merchant_api_wallet_post_order_refund.c b/src/lib/merchant_api_wallet_post_order_refund.c index c527696b..ff19b09e 100644 --- a/src/lib/merchant_api_wallet_post_order_refund.c +++ b/src/lib/merchant_api_wallet_post_order_refund.c @@ -134,7 +134,7 @@ handle_refund_finished (void *cls, struct TALER_MerchantPublicKeyP merchant_pub; unsigned int refund_len; struct GNUNET_JSON_Specification spec[] = { - TALER_JSON_spec_amount ("refund_amount", + TALER_JSON_spec_amount_any ("refund_amount", &refund_amount), GNUNET_JSON_spec_json ("refunds", &refunds), @@ -214,7 +214,7 @@ handle_refund_finished (void *cls, &rd->rtransaction_id), GNUNET_JSON_spec_fixed_auto ("coin_pub", &rd->coin_pub), - TALER_JSON_spec_amount ("refund_amount", + TALER_JSON_spec_amount_any ("refund_amount", &rd->refund_amount), GNUNET_JSON_spec_end () }; @@ -241,7 +241,7 @@ handle_refund_finished (void *cls, &rd->coin_pub), GNUNET_JSON_spec_uint64 ("rtransaction_id", &rd->rtransaction_id), - TALER_JSON_spec_amount ("refund_amount", + TALER_JSON_spec_amount_any ("refund_amount", &rd->refund_amount), GNUNET_JSON_spec_end () }; |