This commit is contained in:
Florin Chirica 2022-05-12 16:58:21 +03:00 committed by GitHub
parent a9db93553e
commit 6fc9bf5a3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,7 +240,7 @@ class DataLayer:
publish_generation = min(int(singleton_record.generation), 0 if root is None else root.generation)
# If we make some batch updates, which get confirmed to the chain, we need to create the files.
# We iterate back and write the missing files, until we find the files already written.
while publish_generation > 0 and write_files_for_root(
while publish_generation > 0 and await write_files_for_root(
self.data_store,
tree_id,
root,