gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: Do not set timestam


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: Do not set timestamp in lib testcase, because the backend adds it by default if not found.
Date: Wed, 26 Jul 2017 09:54:40 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new fe3e7e8  Do not set timestamp in lib testcase, because the backend 
adds it by default if not found.
fe3e7e8 is described below

commit fe3e7e8b7a57b5997e85a9a03e8139f9870b0501
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jul 26 09:53:42 2017 +0200

    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(-)

diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index 644bc52..ff1cbe0 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 (&timestamp);
-    json_object_set_new (order,
-                         "timestamp",
-                         GNUNET_JSON_from_time_abs (timestamp));
     if (NULL != instance)
     {
       json_t *merchant;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]