commit 92e04e0a3f31a9407b3f8e6e8f615000a57c726f
parent daddc69dc9bfdcc521bb7cada925e77441d36f7d
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 24 May 2022 10:11:43 +0200
-handle serialization issue
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
@@ -546,8 +546,6 @@ do_commit (struct WireAccount *wa)
GNUNET_assert (NULL == task);
shard_done = check_shard_done (wa);
wa->started_transaction = false;
- if (shard_done)
- wa->shard_open = false;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Committing %s progress (%llu,%llu] at %llu\n (%s)",
wa->job_name,
@@ -574,10 +572,15 @@ do_commit (struct WireAccount *wa)
break;
}
if (shard_done)
+ {
+ wa->shard_open = false;
account_completed (wa);
+ }
else
+ {
task = GNUNET_SCHEDULER_add_now (&continue_with_shard,
wa);
+ }
}