docs: def ToHashArray(self):
          """
          Turn the tree into a list of hashes.
  
          Returns:
              list:
          """
          hashes = set()
          MerkleTree.__DepthFirstSearch(self.Root, hashes)
          return list(hashes)