routing/chainview: update neutrino driver to comply with BIP

This commit is contained in:
Alex 2017-10-11 13:27:15 -06:00 committed by Olaoluwa Osuntokun
parent 215d57acb9
commit 1c408adcab
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ func (c *CfFilteredChainView) FilterBlock(blockHash *chainhash.Hash) (*FilteredB
// Next, using the block, hash, we'll fetch the compact filter for this
// block. We only require the regular filter as we're just looking for
// outpoint that have been spent.
filter, err := c.p2pNode.GetCFilter(*blockHash, false)
filter, err := c.p2pNode.GetCFilter(*blockHash, wire.GCSFilterRegular)
if err != nil {
return nil, err
}