summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-11-27 23:50:59 +0100
committerChristian Grothoff <christian@grothoff.org>2017-11-27 23:50:59 +0100
commit9041840d6e1caa5a0a4f8222b312b547ccd2ab1b (patch)
tree9e9963bed10409327f3e50693347227e2023c9ac /src
parentaa79aca12f6590412992a688460d141d8570e93c (diff)
downloadexchange-9041840d6e1caa5a0a4f8222b312b547ccd2ab1b.tar.gz
exchange-9041840d6e1caa5a0a4f8222b312b547ccd2ab1b.tar.bz2
exchange-9041840d6e1caa5a0a4f8222b312b547ccd2ab1b.zip
round timestamp so that the exchange does not crash when converting to JSON
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-aggregator.c1
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);