routing/chainview: update neutrino driver to comply with BIP
This commit is contained in:
parent
215d57acb9
commit
1c408adcab
@ -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
|
// 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
|
// block. We only require the regular filter as we're just looking for
|
||||||
// outpoint that have been spent.
|
// outpoint that have been spent.
|
||||||
filter, err := c.p2pNode.GetCFilter(*blockHash, false)
|
filter, err := c.p2pNode.GetCFilter(*blockHash, wire.GCSFilterRegular)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user