From dbb23684031ecb892c931a89006183c741c3fc96 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 3 Apr 2017 16:49:38 +0200 Subject: mark TODOs for #3887 in exchange-lib --- src/exchange-lib/exchange_api_common.c | 6 ++++++ src/exchange-lib/exchange_api_reserve.c | 12 ++++++++++++ 2 files changed, 18 insertions(+) (limited to 'src/exchange-lib') 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! */ -- cgit v1.2.3