Skip to content

Commit

Permalink
fix: __repr__ leaf
Browse files Browse the repository at this point in the history
  • Loading branch information
olivmath committed Jul 6, 2023
1 parent 9dbd1c3 commit a98ae05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion merkly/mtree.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(
self.hash_function: Callable[[str], str] = hash_function
self.raw_leafs: List[str] = leafs
self.leafs: List[str] = self.__hash_leafs(leafs)
self.short_leafs: List[str] = self.short(leafs)
self.short_leafs: List[str] = self.short(self.leafs)

def __hash_leafs(self, leafs: List[str]) -> List[str]:
return list(map(self.hash_function, leafs))
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "merkly"
version = "0.7.1"
version = "0.7.2"
description = "🌳 The simple and easy implementation of Merkle Tree"
authors = ["Lucas Oliveira <[email protected]>"]
repository = "https://github.com/olivmath/merkly.git"
Expand Down

0 comments on commit a98ae05

Please sign in to comment.