diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-26 16:31:24 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-26 16:31:24 +0200 |
commit | c9de5986194bb2a65c65b39a50cf820517833893 (patch) | |
tree | a9e7a09ed27387d3c16a88717797ed30e4ba05ca /src/backend/taler-merchant-httpd_private-post-orders.c | |
parent | 3096616441f2a8d226bfb42c1a655f484ac717f3 (diff) |
round refund_deadline
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-orders.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-orders.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c index 76126dd2..be784997 100644 --- a/src/backend/taler-merchant-httpd_private-post-orders.c +++ b/src/backend/taler-merchant-httpd_private-post-orders.c @@ -607,6 +607,8 @@ patch_order (struct MHD_Connection *connection, { struct GNUNET_TIME_Absolute rd = GNUNET_TIME_relative_to_absolute (refund_delay); + + (void) GNUNET_TIME_round_abs (&rd); GNUNET_assert (0 == json_object_set_new (order, "refund_deadline", |