Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
fchirica committed Jan 10, 2025
1 parent 8958049 commit 1882ac0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion chia/data_layer/data_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
from chia.data_layer.util.merkle_blob import (
KVId,
MerkleBlob,
NodeMetadata,
RawInternalMerkleNode,
RawLeafMerkleNode,
TreeIndex,
Expand Down
4 changes: 2 additions & 2 deletions chia/data_layer/util/merkle_blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ def __post_init__(self) -> None:

@classmethod
def from_node_list(
cls: type["MerkleBlob"],
cls: type[MerkleBlob],
internal_nodes: dict[bytes32, tuple[bytes32, bytes32]],
terminal_nodes: dict[bytes32, tuple[KVId, KVId]],
root_hash: Optional[bytes32],
) -> "MerkleBlob":
) -> MerkleBlob:
merkle_blob = cls(blob=bytearray())

if root_hash is None:
Expand Down

0 comments on commit 1882ac0

Please sign in to comment.