summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-07-15 22:01:06 +0200
committerChristian Grothoff <christian@grothoff.org>2019-07-15 22:01:06 +0200
commit4785bcb4bbdd6055cd54b3d461909e6b071811f5 (patch)
treee0d81384ed06fb9139fa4c8d41b6e69ebd54298f /src/lib
parent28f790fac5af5d801d5cb7bd3cdfe53f0ac948d2 (diff)
downloadexchange-4785bcb4bbdd6055cd54b3d461909e6b071811f5.tar.gz
exchange-4785bcb4bbdd6055cd54b3d461909e6b071811f5.tar.bz2
exchange-4785bcb4bbdd6055cd54b3d461909e6b071811f5.zip
towards #5777, adding todos/notes
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/testing_api_cmd_refresh.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/testing_api_cmd_refresh.c b/src/lib/testing_api_cmd_refresh.c
index 3a4de783d..3fb52d830 100644
--- a/src/lib/testing_api_cmd_refresh.c
+++ b/src/lib/testing_api_cmd_refresh.c
@@ -799,7 +799,7 @@ do_melt_retry (void *cls)
static void
melt_cb (void *cls,
unsigned int http_status,
- enum TALER_ErrorCode ec,
+ enum TALER_ErrorCode ec,
uint32_t noreveal_index,
const struct TALER_ExchangePublicKeyP *exchange_pub,
const json_t *full_response)
@@ -1201,6 +1201,17 @@ refresh_reveal_traits (void *cls,
traits[(num_coins * 2) + i]
= TALER_TESTING_make_trait_denom_sig
(i, &rrs->fresh_coins[i].sig);
+#if 0
+ /* FIXME: need *some* trait for #5777 here, but we don't have
+ the blinding keys at hand, and #5777 asks for the transfer
+ private keys, which according to bugnote 14690 is a bad idea.
+ So what should we do here? */
+ /* blinding key traits */
+ for (unsigned int i=0; i<num_coins; i++)
+ traits[(num_coins * 3) + i]
+ = TALER_TESTING_make_trait_blinding_key (i,
+ &rrs->fresh_coins[i].blinding_key),
+#endif
/* number of fresh coins */
traits[(num_coins * 3)] = TALER_TESTING_make_trait_uint