routing/chainview: update to latest API changes

This commit is contained in:
Olaoluwa Osuntokun authored and Conner Fromknecht committed 2018-08-24 03:36:25 -07:00
1 parent 9b6b78a932
commit 85c0dd3de0
1 file changed
+1 -1
+1 -1
View File
@@ -273,7 +273,7 @@ func (c *CfFilteredChainView) FilterBlock(blockHash *chainhash.Hash) (*FilteredB
// If we reach this point, then there was a match, so we'll need to
// fetch the block itself so we can scan it for any actual matches (as
// there's a fp rate).
block, err := c.p2pNode.GetBlockFromNetwork(*blockHash)
block, err := c.p2pNode.GetBlock(*blockHash)
if err != nil {
return nil, err
}