From fe3e7e8b7a57b5997e85a9a03e8139f9870b0501 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 26 Jul 2017 09:53:42 +0200 Subject: Do not set timestamp in lib testcase, because the backend adds it by default if not found. --- src/lib/test_merchant_api.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/lib') diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c index 644bc529..ff1cbe09 100644 --- a/src/lib/test_merchant_api.c +++ b/src/lib/test_merchant_api.c @@ -1990,16 +1990,10 @@ interpreter_run (void *cls) { json_t *order; json_error_t error; - struct GNUNET_TIME_Absolute timestamp; GNUNET_assert (NULL != (order = json_loads (cmd->details.proposal.order, JSON_REJECT_DUPLICATES, &error))); - timestamp = GNUNET_TIME_absolute_get (); - (void) GNUNET_TIME_round_abs (×tamp); - json_object_set_new (order, - "timestamp", - GNUNET_JSON_from_time_abs (timestamp)); if (NULL != instance) { json_t *merchant; -- cgit v1.2.3