diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-04-06 00:58:15 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-04-06 00:58:15 +0200 |
commit | 1b3bf1a00126baffd016676ad1d668637b8b2efe (patch) | |
tree | 3e933ba24067954bf63829a60b8ac9cf0e0ae584 /src/exchange-lib/exchange_api_handle.c | |
parent | cb1548d1a080e8d05624482534205318796a802f (diff) |
disable /keys cherrypicking until #5315 is addressedv0.5.0
Diffstat (limited to 'src/exchange-lib/exchange_api_handle.c')
-rw-r--r-- | src/exchange-lib/exchange_api_handle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange-lib/exchange_api_handle.c b/src/exchange-lib/exchange_api_handle.c index e3f8314f4..026fa87aa 100644 --- a/src/exchange-lib/exchange_api_handle.c +++ b/src/exchange-lib/exchange_api_handle.c @@ -867,7 +867,7 @@ keys_completed_cb (void *cls, { /* offsets will map 1:1 */ unsigned int off = aold->denom_keys[j] - kd_old.denom_keys; - + /* FIXME(#5315): this should not be an assert! */ GNUNET_assert (off < kd_old.num_denom_keys); anew->denom_keys[j] = &kd.denom_keys[off]; } @@ -1127,7 +1127,7 @@ request_keys (struct TALER_EXCHANGE_Handle *exchange) GNUNET_assert (NULL == exchange->kr); kr = GNUNET_new (struct KeysRequest); kr->exchange = exchange; - if (GNUNET_YES == MAH_handle_is_ready (exchange)) + if (GNUNET_YES == MAH_handle_is_ready (exchange) && !TALER_EXCHANGE_API_DISABLE_CHERRYPICKING) { char *arg; |