update comment.

This commit is contained in:
David Hill 2014-07-10 11:10:44 -04:00
parent 6de97e738d
commit 4a3482182f

View file

@ -76,8 +76,8 @@ func (m *merkleBlock) traverseAndBuild(height, pos uint32) {
} }
} }
// NewMerkleBlock returns a new *btcwire.MsgMerkleBlock based on the passed // NewMerkleBlock returns a new *btcwire.MsgMerkleBlock and an array of the matched
// block and filter. // transaction hashes based on the passed block and filter.
func NewMerkleBlock(block *btcutil.Block, filter *Filter) (*btcwire.MsgMerkleBlock, []*btcwire.ShaHash) { func NewMerkleBlock(block *btcutil.Block, filter *Filter) (*btcwire.MsgMerkleBlock, []*btcwire.ShaHash) {
numTx := uint32(len(block.Transactions())) numTx := uint32(len(block.Transactions()))
mBlock := merkleBlock{ mBlock := merkleBlock{