neoneo-go/pkg/crypto/hash
Roman Khimov ddad9ac9a3 hash: simplify merkle tree error handling
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().
2019-12-25 14:38:48 +03:00
..
hash.go hash: remove useless no-op decoding 2019-12-12 17:58:34 +03:00
hash_test.go util: add LE suffix to Uint256 methods 2019-12-06 12:16:55 +03:00
merkle_tree.go hash: simplify merkle tree error handling 2019-12-25 14:38:48 +03:00
merkle_tree_test.go crypto: move merkle tree into the hash package 2019-12-25 11:28:59 +03:00