diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-11-27 23:50:59 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-11-27 23:50:59 +0100 |
commit | 9041840d6e1caa5a0a4f8222b312b547ccd2ab1b (patch) | |
tree | 9e9963bed10409327f3e50693347227e2023c9ac | |
parent | aa79aca12f6590412992a688460d141d8570e93c (diff) | |
download | exchange-9041840d6e1caa5a0a4f8222b312b547ccd2ab1b.tar.xz |
round timestamp so that the exchange does not crash when converting to JSON
-rw-r--r-- | src/exchange/taler-exchange-aggregator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c index 5e0c52c71..84aef1a89 100644 --- a/src/exchange/taler-exchange-aggregator.c +++ b/src/exchange/taler-exchange-aggregator.c @@ -961,6 +961,7 @@ expired_reserve_cb (void *cls, GNUNET_assert (NULL == ctc); now = GNUNET_TIME_absolute_get (); + (void) GNUNET_TIME_round_abs (&now); /* lookup wire plugin */ type = extract_type (account_details); |