diff --git a/chia/data_layer/data_layer.py b/chia/data_layer/data_layer.py index 738a68bc8b6a6..5d8fa5b109cbc 100644 --- a/chia/data_layer/data_layer.py +++ b/chia/data_layer/data_layer.py @@ -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: