-more refresh CS fixes
This commit is contained in:
parent
1777db292e
commit
730f9e8865
@ -146,6 +146,14 @@ TALER_EXCHANGE_get_melt_data_ (
|
|||||||
TALER_planchet_blinding_secret_create (fc,
|
TALER_planchet_blinding_secret_create (fc,
|
||||||
&alg_values[j],
|
&alg_values[j],
|
||||||
&bks);
|
&bks);
|
||||||
|
/* Note: we already did this for the /csr request,
|
||||||
|
so this computation is redundant, and here additionally
|
||||||
|
repeated KAPPA times. Could be avoided with slightly
|
||||||
|
more bookkeeping in the future */
|
||||||
|
TALER_cs_refresh_nonce_derive (
|
||||||
|
ps,
|
||||||
|
j,
|
||||||
|
&pd.blinded_planchet.details.cs_blinded_planchet.nonce);
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
TALER_planchet_prepare (&md->fresh_pks[j],
|
TALER_planchet_prepare (&md->fresh_pks[j],
|
||||||
&alg_values[j],
|
&alg_values[j],
|
||||||
|
@ -476,6 +476,11 @@ TALER_refresh_get_commitment (struct TALER_RefreshCommitmentP *rc,
|
|||||||
{
|
{
|
||||||
const struct TALER_RefreshCoinData *rcd = &rce->new_coins[j];
|
const struct TALER_RefreshCoinData *rcd = &rce->new_coins[j];
|
||||||
|
|
||||||
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
|
"BCH %u/%u %s\n",
|
||||||
|
i, j,
|
||||||
|
TALER_B2S (
|
||||||
|
&rcd->blinded_planchet.details.cs_blinded_planchet));
|
||||||
TALER_blinded_planchet_hash (&rcd->blinded_planchet,
|
TALER_blinded_planchet_hash (&rcd->blinded_planchet,
|
||||||
hash_context);
|
hash_context);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user