aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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! */