summaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_refresh.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-07-21 12:20:45 +0200
committerChristian Grothoff <christian@grothoff.org>2019-07-21 12:20:45 +0200
commitad343059427a20ad091d384fc430b631feae70cc (patch)
treec27451562e9809ffe35e8c956d211e62b8c7231f /src/lib/testing_api_cmd_refresh.c
parentc94309ee6ecfc58dd852e0d61b7aa0a0c16c7db0 (diff)
downloadexchange-ad343059427a20ad091d384fc430b631feae70cc.tar.gz
exchange-ad343059427a20ad091d384fc430b631feae70cc.tar.bz2
exchange-ad343059427a20ad091d384fc430b631feae70cc.zip
expose blinding key in refresh-reveal API in preparation for #5777
Diffstat (limited to 'src/lib/testing_api_cmd_refresh.c')
-rw-r--r--src/lib/testing_api_cmd_refresh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/testing_api_cmd_refresh.c b/src/lib/testing_api_cmd_refresh.c
index 155d30cee..71f3833fa 100644
--- a/src/lib/testing_api_cmd_refresh.c
+++ b/src/lib/testing_api_cmd_refresh.c
@@ -289,7 +289,7 @@ reveal_cb (void *cls,
unsigned int http_status,
enum TALER_ErrorCode ec,
unsigned int num_coins,
- const struct TALER_CoinSpendPrivateKeyP *coin_privs,
+ const struct TALER_PlanchetSecretsP *coin_privs,
const struct TALER_DenominationSignature *sigs,
const json_t *full_response)
{
@@ -358,7 +358,8 @@ reveal_cb (void *cls,
TALER_TESTING_interpreter_fail (rrs->is);
return;
}
- fc->coin_priv = coin_privs[i];
+ fc->coin_priv = coin_privs[i].coin_priv;
+ fc->blinding_key = coin_privs[i].blinding_key;
fc->sig.rsa_signature = GNUNET_CRYPTO_rsa_signature_dup
(sigs[i].rsa_signature);
}