From 9041840d6e1caa5a0a4f8222b312b547ccd2ab1b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 27 Nov 2017 23:50:59 +0100 Subject: round timestamp so that the exchange does not crash when converting to JSON --- src/exchange/taler-exchange-aggregator.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3