update comment.
This commit is contained in:
parent
6de97e738d
commit
4a3482182f
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ func (m *merkleBlock) traverseAndBuild(height, pos uint32) {
|
|||
}
|
||||
}
|
||||
|
||||
// NewMerkleBlock returns a new *btcwire.MsgMerkleBlock based on the passed
|
||||
// block and filter.
|
||||
// NewMerkleBlock returns a new *btcwire.MsgMerkleBlock and an array of the matched
|
||||
// transaction hashes based on the passed block and filter.
|
||||
func NewMerkleBlock(block *btcutil.Block, filter *Filter) (*btcwire.MsgMerkleBlock, []*btcwire.ShaHash) {
|
||||
numTx := uint32(len(block.Transactions()))
|
||||
mBlock := merkleBlock{
|
||||
|
|
Loading…
Reference in a new issue