commit dbb23684031ecb892c931a89006183c741c3fc96
parent 29a2f9b345ecd8a6c062b3b3cfa719a8a4ec2a08
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 3 Apr 2017 16:49:38 +0200
mark TODOs for #3887 in exchange-lib
Diffstat:
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/exchange-lib/exchange_api_common.c b/src/exchange-lib/exchange_api_common.c
@@ -234,6 +234,12 @@ TALER_EXCHANGE_verify_coin_history (const char *currency,
well-formendess check). */
add = GNUNET_NO;
}
+ else if (0 == strcasecmp (type,
+ "PAYBACK"))
+ {
+ GNUNET_break (0); /* #3887 */
+
+ }
else
{
/* signature not supported, new version on server? */
diff --git a/src/exchange-lib/exchange_api_reserve.c b/src/exchange-lib/exchange_api_reserve.c
@@ -256,6 +256,18 @@ parse_reserve_history (const json_t *history,
}
/* end type==WITHDRAW */
}
+ else if (0 == strcasecmp (type,
+ "PAYBACK"))
+ {
+ GNUNET_break (0); /* #3887 */
+ /* end type==PAYBACK */
+ }
+ else if (0 == strcasecmp (type,
+ "CLOSING"))
+ {
+ GNUNET_break (0); /* #3887 / #4956 */
+ /* end type==CLOSING */
+ }
else
{
/* unexpected 'type', protocol incompatibility, complain! */