[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: crypto worker: fix refresh planc
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: crypto worker: fix refresh planchet setup |
Date: |
Wed, 08 Dec 2021 16:02:00 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new ec4c531c crypto worker: fix refresh planchet setup
ec4c531c is described below
commit ec4c531cc6bd96bb3c2f6e83ac07d10a017986fb
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Dec 8 16:01:57 2021 +0100
crypto worker: fix refresh planchet setup
---
src/exchange-tools/taler-crypto-worker.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/exchange-tools/taler-crypto-worker.c
b/src/exchange-tools/taler-crypto-worker.c
index 7ca08b4b..d96bfe94 100644
--- a/src/exchange-tools/taler-crypto-worker.c
+++ b/src/exchange-tools/taler-crypto-worker.c
@@ -144,6 +144,7 @@ run (void *cls,
struct TALER_Amount value;
struct TALER_ReservePublicKeyP reserve_pub;
struct TALER_ReservePublicKeyP reserve_priv;
+ struct TALER_TransferSecretP transfer_secret;
uint32_t coin_index;
json_t *resp;
struct GNUNET_JSON_Specification eddsa_verify_spec[] = {
@@ -159,6 +160,8 @@ run (void *cls,
&reserve_priv),
GNUNET_JSON_spec_uint32 ("coin_index",
&coin_index),
+ GNUNET_JSON_spec_fixed_auto ("transfer_secret",
+ &transfer_secret),
GNUNET_JSON_spec_end ()
};
struct TALER_CoinSpendPublicKeyP coin_pub;
@@ -175,11 +178,9 @@ run (void *cls,
global_ret = 1;
return;
}
-#if FIXME_FLORIAN
TALER_planchet_setup_refresh (&transfer_secret,
- coin_num_salt,
+ coin_index,
&ps);
-#endif
GNUNET_CRYPTO_eddsa_key_get_public (&ps.coin_priv.eddsa_priv,
&coin_pub.eddsa_pub);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: crypto worker: fix refresh planchet setup,
gnunet <=