Skip to content

Commit

Permalink
maybe a dead end
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Apr 12, 2024
1 parent e91b6bd commit 6f5bbd1
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 99 deletions.
6 changes: 3 additions & 3 deletions chia/data_layer/data_layer_util.py
Expand Up @@ -91,9 +91,9 @@ async def _debug_dump(db: DBWrapper2, description: str = "") -> None:
print(f" {tweaked}")


async def _dot_dump(data_store: DataStore, store_id: bytes32, root_hash: bytes32) -> str:
terminal_nodes = await data_store.get_keys_values(tree_id=store_id, root_hash=root_hash)
internal_nodes = await data_store.get_internal_nodes(tree_id=store_id, root_hash=root_hash)
async def _dot_dump(data_store: DataStore, root: Root) -> str:
terminal_nodes = await data_store.get_keys_values(root=root)
internal_nodes = await data_store.get_internal_nodes(root=root)

n = 8

Expand Down

0 comments on commit 6f5bbd1

Please sign in to comment.