summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-09-04 13:00:20 +0200
committerChristian Grothoff <christian@grothoff.org>2021-09-04 13:00:20 +0200
commitadc6c53b5c7e08ff6eba180f872a8a8f8f94cd65 (patch)
tree60f0b2e980a38b31650077aebffa611555bc54ef /src/exchange
parentc97292593371e591dc7ba4c38947ebf228b13eb2 (diff)
downloadexchange-adc6c53b5c7e08ff6eba180f872a8a8f8f94cd65.tar.gz
exchange-adc6c53b5c7e08ff6eba180f872a8a8f8f94cd65.tar.bz2
exchange-adc6c53b5c7e08ff6eba180f872a8a8f8f94cd65.zip
doxygen and spelling fixes
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-aggregator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index f3d65db24..893fa79f9 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -353,8 +353,7 @@ refund_by_coin_cb (void *cls,
* @param amount_with_fee amount that was deposited including fee
* @param deposit_fee amount the exchange gets to keep as transaction fees
* @param h_contract_terms hash of the proposal data known to merchant and customer
- * @param wire_deadline by which the merchant advised that he would like the
- * wire transfer to be executed
+ * @param wire target account for the wire transfer
* @return transaction status code, #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT to continue to iterate
*/
static enum GNUNET_DB_QueryStatus
@@ -761,9 +760,10 @@ run_aggregation (void *cls)
GNUNET_YES),
(unsigned long long) counter);
release_shard (s);
- if (GNUNET_YES == test_mode)
+ if ( (GNUNET_YES == test_mode) &&
+ (0 == counter) )
{
- /* in test mode, shutdown after a shard is done */
+ /* in test mode, shutdown after a shard is done with 0 work */
GNUNET_SCHEDULER_shutdown ();
return;
}