summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-06-28 11:06:48 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-06-28 11:06:48 +0200
commit6c72d7a1a0f8981b7f38daf972627922316d5208 (patch)
tree6eec3b7a9a7edea6eae3aef19096f93a5bcbe516 /src
parentb1015a9992a915cd7457637988d86e32077588e5 (diff)
downloadexchange-6c72d7a1a0f8981b7f38daf972627922316d5208.tar.gz
exchange-6c72d7a1a0f8981b7f38daf972627922316d5208.tar.bz2
exchange-6c72d7a1a0f8981b7f38daf972627922316d5208.zip
Address #5366.
Making sure that the exchange side of #5366 is well-behaved.
Diffstat (limited to 'src')
-rw-r--r--src/exchange-lib/test_exchange_api_new.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/exchange-lib/test_exchange_api_new.c b/src/exchange-lib/test_exchange_api_new.c
index e3b383667..41da319a2 100644
--- a/src/exchange-lib/test_exchange_api_new.c
+++ b/src/exchange-lib/test_exchange_api_new.c
@@ -495,12 +495,9 @@ run (void *cls,
(43,
fakebank_url),
"{\"items\":[{\"name\":\"ice cream\",\"value\":1}]}",
- /**
- * This large time unit should NEVER result in
- * a wire transfer from the aggregation CMD below.
- * Bug number: #5366.
- */
- GNUNET_TIME_UNIT_FOREVER_REL,
+ GNUNET_TIME_relative_multiply
+ (GNUNET_TIME_UNIT_YEARS,
+ 3000),
"EUR:5",
MHD_HTTP_OK),