merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 12b0ea3d3dcbefb89e6436cff2b73475cd577ae0
parent 49885a03bc0ef6a280b789e829f0089358900f90
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 21 Jul 2017 19:28:57 +0200

implement mandatory rounding of timestamp

Diffstat:
Msrc/lib/test_merchant_api.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c @@ -1995,6 +1995,7 @@ interpreter_run (void *cls) GNUNET_assert (NULL != (order = json_loads (cmd->details.proposal.order, JSON_REJECT_DUPLICATES, &error))); + (void) GNUNET_TIME_round_abs (&timestamp); json_object_set_new (order, "timestamp", GNUNET_JSON_from_time_abs (timestamp));