diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-24 22:19:54 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-24 22:19:54 +0200 |
commit | ce266ce8f2333d5c30672cf56c3d2e92ef20a851 (patch) | |
tree | 3195319f0bb5dd5e95d4f65b48489c6d3f9339e4 /src/exchange-tools/taler-exchange-keyup.c | |
parent | 35f7415f7e7a05b689333f5ce5eed028177fc92c (diff) |
fix keyup timetravel (#6523)
Diffstat (limited to 'src/exchange-tools/taler-exchange-keyup.c')
-rw-r--r-- | src/exchange-tools/taler-exchange-keyup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index 27a5f3cc1..074499aef 100644 --- 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, |