fix wirewatch

This commit is contained in:
Christian Grothoff 2022-11-18 10:46:00 +01:00
parent 30997afc7f
commit baeb59ee13
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 4 additions and 0 deletions

View File

@ -443,6 +443,8 @@ transaction_completed (void)
{ {
/* Transaction list was drained and we are in /* Transaction list was drained and we are in
test mode. So we are done. */ test mode. So we are done. */
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Transaction list drained and in test mode. Exiting\n");
GNUNET_SCHEDULER_shutdown (); GNUNET_SCHEDULER_shutdown ();
return; return;
} }
@ -566,6 +568,7 @@ process_reply (const struct TALER_BANK_CreditDetails *details,
/* normal case */ /* normal case */
break; break;
} }
progress = true;
} }
latest_row_off = lroff; latest_row_off = lroff;
shard_done = (shard_end <= latest_row_off); shard_done = (shard_end <= latest_row_off);

View File

@ -71,6 +71,7 @@ wirewatch_run (void *cls,
"-S", "1", "-S", "1",
"-w", "0", "-w", "0",
"-t", /* exit when done */ "-t", /* exit when done */
"-L", "DEBUG",
NULL); NULL);
if (NULL == ws->wirewatch_proc) if (NULL == ws->wirewatch_proc)
{ {