diff --git a/merkly/mtree.py b/merkly/mtree.py index 686ece5..41069a3 100644 --- a/merkly/mtree.py +++ b/merkly/mtree.py @@ -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)) diff --git a/pyproject.toml b/pyproject.toml index 54b2b5f..87ca035 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] repository = "https://github.com/olivmath/merkly.git"