round time

This commit is contained in:
Christian Grothoff 2019-08-24 22:53:32 +02:00
parent 71ae493c7a
commit 9044449f5b
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -674,6 +674,7 @@ check_for_required_transfers ()
enum GNUNET_DB_QueryStatus qs;
next_timestamp = GNUNET_TIME_absolute_get ();
(void) GNUNET_TIME_round_abs (&next_timestamp);
/* Subtract #GRACE_PERIOD, so we can be a bit behind in processing
without immediately raising undue concern */
next_timestamp = GNUNET_TIME_absolute_subtract (next_timestamp,