From 5f915280bc260ef7807b6c671cac1545eb12d618 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 6 Nov 2017 15:55:14 -0800 Subject: [PATCH] routing/chainview: if column wrapping on comments in neutrino.go --- routing/chainview/neutrino.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/routing/chainview/neutrino.go b/routing/chainview/neutrino.go index 6c9a259d..50af1e32 100644 --- a/routing/chainview/neutrino.go +++ b/routing/chainview/neutrino.go @@ -313,20 +313,19 @@ func (c *CfFilteredChainView) FilterBlock(blockHash *chainhash.Hash) (*FilteredB // NOTE: This is part of the FilteredChainView interface. func (c *CfFilteredChainView) UpdateFilter(ops []wire.OutPoint, updateHeight uint32) error { + log.Debugf("Updating chain filter with new UTXO's: %v", ops) - // First, we'll update the current chain view, by - // adding any new UTXO's, ignoring duplicates in the - // process. + // First, we'll update the current chain view, by adding any new + // UTXO's, ignoring duplicates in the process. c.filterMtx.Lock() for _, op := range ops { c.chainFilter[op] = struct{}{} } c.filterMtx.Unlock() - // With our internal chain view update, we'll craft a - // new update to the chainView which includes our new - // UTXO's, and current update height. + // With our internal chain view update, we'll craft a new update to the + // chainView which includes our new UTXO's, and current update height. rescanUpdate := []neutrino.UpdateOption{ neutrino.AddOutPoints(ops...), neutrino.Rewind(updateHeight),