diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_withdraw.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_withdraw.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c index a5e6db0ad..7be560847 100644 --- a/src/exchange/taler-exchange-httpd_withdraw.c +++ b/src/exchange/taler-exchange-httpd_withdraw.c @@ -81,11 +81,7 @@ reply_withdraw_insufficient_funds ( return TALER_MHD_REPLY_JSON_PACK ( connection, MHD_HTTP_CONFLICT, - GNUNET_JSON_pack_string ("hint", - TALER_ErrorCode_get_hint ( - TALER_EC_EXCHANGE_WITHDRAW_INSUFFICIENT_FUNDS)), - GNUNET_JSON_pack_uint64 ("code", - TALER_EC_EXCHANGE_WITHDRAW_INSUFFICIENT_FUNDS), + TALER_JSON_pack_ec (TALER_EC_EXCHANGE_WITHDRAW_INSUFFICIENT_FUNDS), TALER_JSON_pack_amount ("balance", &balance), GNUNET_JSON_pack_array_steal ("history", |