ddad9ac9a3
buildMerkleTree() is internal to the hash package and if anyone calls it with `len(leaves) == 0` he deserves a panic. As it's the only error case in it, we can remove error value return from this function and simplify NewMerkleTree(). |
||
---|---|---|
.. | ||
hash | ||
keys | ||
address.go | ||
address_test.go | ||
base58.go | ||
base58_test.go |