forked from TrueCloudLab/neoneo-go
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(). |
||
---|---|---|
.. | ||
compiler | ||
consensus | ||
core | ||
crypto | ||
internal | ||
interop | ||
io | ||
network | ||
rpc | ||
smartcontract | ||
util | ||
vm | ||
wallet |