Regenerate keys before withdraw period is over.
Before, we only would create new denomination keys when the spending period is over.
This commit is contained in:
parent
5a6a3da8e4
commit
1078a42847
@ -836,7 +836,7 @@ exchange_keys_update_cointype (void *cls,
|
||||
GNUNET_CRYPTO_rsa_private_key_free (denomkey_issue.denom_priv.rsa_private_key);
|
||||
GNUNET_CRYPTO_rsa_public_key_free (denomkey_issue.denom_pub.rsa_public_key);
|
||||
p.anchor = GNUNET_TIME_absolute_add (p.anchor,
|
||||
p.duration_spend);
|
||||
p.duration_withdraw);
|
||||
p.anchor = GNUNET_TIME_absolute_subtract (p.anchor,
|
||||
p.duration_overlap);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user