For this issue, add code to the function stub MerkleRootHashOf in internal/hashing.
The function should return false if the given merkle-root hash is not the merkle root hash of the array of SHA-256 hashes given in the parameter.
A test for this function is provided in the test file of package hashing.
Package context:
internal/hashing
Branch:MerkleRootcmp
For this issue, add code to the function stub
MerkleRootHashOf
ininternal/hashing
. The function should return false if the given merkle-root hash is not the merkle root hash of the array of SHA-256 hashes given in the parameter.A test for this function is provided in the test file of package
hashing
.