diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-05-16 10:53:42 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-05-16 10:53:42 +0200 |
commit | 439c872af48aed41dea1027fd03a28225d3bc59b (patch) | |
tree | 297ab9b23e67dfd492613a25278d013aa51eae89 /src/exchange/taler-exchange-httpd_purses_deposit.c | |
parent | 10a97996f70ffb4891bc62d06499833a03f0ebc9 (diff) |
-implement purse_deposit error handling
Diffstat (limited to 'src/exchange/taler-exchange-httpd_purses_deposit.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_purses_deposit.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_purses_deposit.c b/src/exchange/taler-exchange-httpd_purses_deposit.c index 8ac63c51..38bd8472 100644 --- a/src/exchange/taler-exchange-httpd_purses_deposit.c +++ b/src/exchange/taler-exchange-httpd_purses_deposit.c @@ -167,8 +167,16 @@ reply_deposit_success (struct MHD_Connection *connection, MHD_HTTP_OK, TALER_JSON_pack_amount ("total_deposited", &pcc->deposit_total), + TALER_JSON_pack_amount ("purse_value_after_fees", + &pcc->amount), GNUNET_JSON_pack_timestamp ("exchange_timestamp", pcc->exchange_timestamp), + GNUNET_JSON_pack_timestamp ("purse_expiration", + pcc->purse_expiration), + GNUNET_JSON_pack_data_auto ("h_contract_terms", + &pcc->h_contract_terms), + GNUNET_JSON_pack_data_auto ("merge_pub", + &pcc->merge_pub), GNUNET_JSON_pack_data_auto ("exchange_sig", &sig), GNUNET_JSON_pack_data_auto ("exchange_pub", |