chainntnfs/neutrinonotify: clean up neutrinonotify.New

This commit is contained in:
Wilmer Paulino
2018-12-06 21:14:07 -08:00
parent 686e734e22
commit 969acf6145
3 changed files with 11 additions and 18 deletions

View File

@@ -53,8 +53,6 @@ func (n *NeutrinoNotifier) UnsafeStart(bestHeight int32,
n.confirmHintCache, n.spendHintCache,
)
n.chainConn = &NeutrinoChainConn{n.p2pNode}
// Finally, we'll create our rescan struct, start it, and launch all
// the goroutines we need to operate this ChainNotifier instance.
n.chainView = n.p2pNode.NewRescan(rescanOptions...)