diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-02 11:13:28 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-02 11:13:28 +0200 |
commit | 562b2cd18008ced56ee98a2516740b24736e08cf (patch) | |
tree | 3ca98583b5723b8cb6ed46389335013002b4a600 /src/exchange-lib/testing_api_cmd_deposit.c | |
parent | bfdd05196b4a6700eef96934fc10f87105a732c6 (diff) | |
download | exchange-562b2cd18008ced56ee98a2516740b24736e08cf.tar.gz exchange-562b2cd18008ced56ee98a2516740b24736e08cf.tar.bz2 exchange-562b2cd18008ced56ee98a2516740b24736e08cf.zip |
Addressing #5332
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_deposit.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_deposit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchange-lib/testing_api_cmd_deposit.c b/src/exchange-lib/testing_api_cmd_deposit.c index 07895c1fe..4060e660b 100644 --- a/src/exchange-lib/testing_api_cmd_deposit.c +++ b/src/exchange-lib/testing_api_cmd_deposit.c @@ -225,9 +225,6 @@ 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 @@ -402,6 +399,8 @@ deposit_traits (void *cls, * @param contract_terms contract terms to be signed over by the * coin. * @param refund_deadline refund deadline, zero means 'no refunds'. + * Note, if time were absolute, then it would have come + * one day and disrupt tests meaning. * @param amount how much is going to be deposited. * @param expected_response_code expected HTTP response code. * |