diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-09-07 17:41:07 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-09-07 17:41:07 +0200 |
commit | 1078a42847c93025b8d0cc8d5779a8e7fb77ff20 (patch) | |
tree | 4bff7bc111f5f223b21928ebe127a6f2f34b92cb | |
parent | 5a6a3da8e42e2021c2cf7888e102b4c70634e2b7 (diff) |
Regenerate keys before withdraw period is over.
Before, we only would create new denomination keys when
the spending period is over.
-rw-r--r-- | src/exchange-tools/taler-exchange-keyup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index 76969f47c..d039c427f 100644 --- a/src/exchange-tools/taler-exchange-keyup.c +++ b/src/exchange-tools/taler-exchange-keyup.c @@ -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); } |