-handle serialization issue
This commit is contained in:
parent
daddc69dc9
commit
92e04e0a3f
@ -546,8 +546,6 @@ do_commit (struct WireAccount *wa)
|
|||||||
GNUNET_assert (NULL == task);
|
GNUNET_assert (NULL == task);
|
||||||
shard_done = check_shard_done (wa);
|
shard_done = check_shard_done (wa);
|
||||||
wa->started_transaction = false;
|
wa->started_transaction = false;
|
||||||
if (shard_done)
|
|
||||||
wa->shard_open = false;
|
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||||
"Committing %s progress (%llu,%llu] at %llu\n (%s)",
|
"Committing %s progress (%llu,%llu] at %llu\n (%s)",
|
||||||
wa->job_name,
|
wa->job_name,
|
||||||
@ -574,10 +572,15 @@ do_commit (struct WireAccount *wa)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (shard_done)
|
if (shard_done)
|
||||||
|
{
|
||||||
|
wa->shard_open = false;
|
||||||
account_completed (wa);
|
account_completed (wa);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
task = GNUNET_SCHEDULER_add_now (&continue_with_shard,
|
task = GNUNET_SCHEDULER_add_now (&continue_with_shard,
|
||||||
wa);
|
wa);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user