merchant

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

commit fe3e7e8b7a57b5997e85a9a03e8139f9870b0501
parent 77fd7e50cb69a2f6cefc6477690421a895a3ea6f
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Wed, 26 Jul 2017 09:53:42 +0200

Do not set timestamp in lib testcase, because the backend
adds it by default if not found.

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

diff --git 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;