mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-11-10 12:29:49 +03:00
Nits.
This commit is contained in:
parent
f232e7c85c
commit
669a294683
@ -198,7 +198,7 @@ class DataLayer:
|
||||
else:
|
||||
root = None
|
||||
if root is None:
|
||||
self.log.error(f"Don't have pending root for {tree_id}.")
|
||||
self.log.info(f"Don't have pending root for {tree_id}.")
|
||||
return
|
||||
if root.generation == singleton_record.generation:
|
||||
return
|
||||
@ -246,6 +246,9 @@ class DataLayer:
|
||||
async with self.lock:
|
||||
await self._update_confirmation_status(tree_id=tree_id)
|
||||
|
||||
if not self.data_store.tree_id_exists(tree_id=tree_id):
|
||||
await self.data_store.create_tree(tree_id=tree_id)
|
||||
|
||||
for url in subscription.urls:
|
||||
root = await self.data_store.get_tree_root(tree_id=tree_id)
|
||||
if root.generation > singleton_record.generation:
|
||||
|
Loading…
Reference in New Issue
Block a user