mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-01-13 21:00:33 +00:00
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 |