aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-12 17:46:42 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-12 17:46:42 +0100
commit168fd80fbf25c5cb20322fa5af38d5d49376d737 (patch)
treef8281022985d2207a8ac0aaaac26ddf1116aa514
parent832097c144ba7495ac1d966135dacc5a5fef8de7 (diff)
-do not include long delays in test mode, ever
-rw-r--r--src/exchange/taler-exchange-wirewatch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
index 957060329..5ac518298 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -478,6 +478,8 @@ transaction_completed (void)
latency);
delayed_until = GNUNET_TIME_relative_to_absolute (left);
}
+ if (test_mode)
+ delayed_until = GNUNET_TIME_UNIT_ZERO_ABS;
GNUNET_assert (NULL == task);
schedule_transfers ();
}