merchant

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

commit 479bfd47071ca61b98d06842bd94d4d86d48d44d
parent fb251bf9d7ba5adf82ca0204df9f7cb7ee47b2ab
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Wed, 26 Jul 2017 12:43:52 +0200

rounding /history date parameter

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

diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c @@ -2252,9 +2252,12 @@ interpreter_run (void *cls) } case OC_HISTORY: if (0 == cmd->details.history.date.abs_value_us) + { cmd->details.history.date = GNUNET_TIME_absolute_add (GNUNET_TIME_absolute_get (), GNUNET_TIME_UNIT_HOURS); + GNUNET_TIME_round_abs (&cmd->details.history.date); + } if (NULL == (cmd->details.history.ho = TALER_MERCHANT_history (ctx, MERCHANT_URI,