func TestMerkle(t *testing.T) {
	block := provautil.NewBlock(&SomeBlock)
	merkles := blockchain.BuildMerkleTreeStore(block.Transactions())
	calculatedMerkleRoot := merkles[len(merkles)-1]
	merkleStr := "fe174a6ec736a412d8cc3e02328d1b1d250e24127dd74484dfa257bf983135f8"
	wantMerkle, _ := chainhash.NewHashFromStr(merkleStr)
	if !wantMerkle.IsEqual(calculatedMerkleRoot) {
		t.Errorf("BuildMerkleTreeStore: merkle root mismatch - "+
			"got %v, want %v", calculatedMerkleRoot, wantMerkle)
	}
}
TestMerkle tests the BuildMerkleTreeStore API.
package blockchain_test
import (
	"testing"
	"github.com/bitgo/prova/blockchain"
	"github.com/bitgo/prova/chaincfg/chainhash"
	"github.com/bitgo/prova/provautil"
)