(h0 *hash.Hash, h1 *hash.Hash)
| 45 | } |
| 46 | |
| 47 | func mergeHash(h0 *hash.Hash, h1 *hash.Hash) *hash.Hash { |
| 48 | h := hash.THashH(append(h0[:], h1[:]...)) |
| 49 | return &h |
| 50 | } |
| 51 | |
| 52 | // nextPowerOfTwo and BuildMerkleTreeStore is copy from github.com/btcsuite/btcd/blockchain/merkle.go |
| 53 | // nextPowerOfTwo returns the next highest power of two from a given number if |
no test coverage detected