exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit ce266ce8f2333d5c30672cf56c3d2e92ef20a851
parent 35f7415f7e7a05b689333f5ce5eed028177fc92c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 24 Aug 2020 22:19:54 +0200

fix keyup timetravel (#6523)

Diffstat:
Msrc/exchange-tools/taler-exchange-keyup.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c @@ -1283,6 +1283,11 @@ run (void *cls, /* The user gave "--now", use it! */ now = now_tmp; } + else + { + /* get current time again, we may be timetraveling! */ + now = GNUNET_TIME_absolute_get (); + } GNUNET_TIME_round_abs (&now); if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_time (kcfg,