From 48cccb62ca8ccd27216c6d42b2eee5e4689a7922 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Thu, 28 Jun 2018 10:38:42 +0200 Subject: Reproducing [1] as a test case. [1] https://gnunet.org/bugs/view.php?id=5366#c13087 --- src/exchange-lib/testing_api_cmd_deposit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/exchange-lib/testing_api_cmd_deposit.c') diff --git a/src/exchange-lib/testing_api_cmd_deposit.c b/src/exchange-lib/testing_api_cmd_deposit.c index d5c0542a..07895c1f 100644 --- a/src/exchange-lib/testing_api_cmd_deposit.c +++ b/src/exchange-lib/testing_api_cmd_deposit.c @@ -225,6 +225,9 @@ deposit_run (void *cls, ds->merchant_priv.eddsa_priv = *merchant_priv; GNUNET_free (merchant_priv); + /* FIXME: this looks very odd: why take times as relatives, + * just to convert them to absolutes soon after? */ + if (0 != ds->refund_deadline.rel_value_us) { refund_deadline = GNUNET_TIME_relative_to_absolute -- cgit v1.2.3