[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: mark TODOs for #388
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: mark TODOs for #3887 in exchange-lib |
Date: |
Mon, 03 Apr 2017 16:46:31 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new dbb2368 mark TODOs for #3887 in exchange-lib
dbb2368 is described below
commit dbb23684031ecb892c931a89006183c741c3fc96
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Apr 3 16:49:38 2017 +0200
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(+)
diff --git a/src/exchange-lib/exchange_api_common.c
b/src/exchange-lib/exchange_api_common.c
index 743fb4f..17cfab9 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 28f329c..900b646 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! */
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: mark TODOs for #3887 in exchange-lib,
gnunet <=