summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_responses.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-18 16:54:36 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-18 16:54:36 +0200
commit5019bd69146824f3c6ec72e4dec1bb23dddf61ee (patch)
tree83f30ccaaa32f93efc6932388910b34b02fb74e1 /src/exchange/taler-exchange-httpd_responses.c
parente746e0bbbc4439e07c1217c6f12110638a8ea565 (diff)
downloadexchange-5019bd69146824f3c6ec72e4dec1bb23dddf61ee.tar.gz
exchange-5019bd69146824f3c6ec72e4dec1bb23dddf61ee.tar.bz2
exchange-5019bd69146824f3c6ec72e4dec1bb23dddf61ee.zip
Ask to withdraw on a expired reserve.
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r--src/exchange/taler-exchange-httpd_responses.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c
index f13352e1..d5d7e943 100644
--- a/src/exchange/taler-exchange-httpd_responses.c
+++ b/src/exchange/taler-exchange-httpd_responses.c
@@ -835,6 +835,7 @@ TEH_RESPONSE_compile_reserve_history (const struct TALER_EXCHANGEDB_ReserveHisto
break;
case TALER_EXCHANGEDB_RO_EXCHANGE_TO_BANK:
{
+
struct TALER_ReserveCloseConfirmationPS rcc;
struct TALER_ExchangePublicKeyP pub;
struct TALER_ExchangeSignatureP sig;
@@ -880,7 +881,7 @@ TEH_RESPONSE_compile_reserve_history (const struct TALER_EXCHANGEDB_ReserveHisto
}
GNUNET_assert (0 ==
json_array_append_new (json_history,
- json_pack ("{s:s, s:O, s:o, s:o, s:o, s:o, s:o, s:o}",
+ json_pack ("{s:s, s:s, s:o, s:o, s:o, s:o, s:o, s:o}",
"type", "CLOSING",
"receiver_account_details", pos->details.closing->receiver_account_details,
"wtid", GNUNET_JSON_from_data_auto (&pos->details.closing->wtid),
@@ -893,6 +894,7 @@ TEH_RESPONSE_compile_reserve_history (const struct TALER_EXCHANGEDB_ReserveHisto
break;
}
}
+
if (0 == (1 & ret))
{
GNUNET_break (0);