aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-04-03 16:49:38 +0200
committerChristian Grothoff <christian@grothoff.org>2017-04-03 16:49:38 +0200
commitdbb23684031ecb892c931a89006183c741c3fc96 (patch)
tree5cf7c57b494ef9e8e3e2cc115c8cbc144d378de6
parent29a2f9b345ecd8a6c062b3b3cfa719a8a4ec2a08 (diff)
mark TODOs for #3887 in exchange-lib
-rw-r--r--src/exchange-lib/exchange_api_common.c6
-rw-r--r--src/exchange-lib/exchange_api_reserve.c12
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
index 743fb4fe2..17cfab92b 100644
--- 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
index 28f329c42..900b6462e 100644
--- 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! */