mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-26 21:51:27 +02:00
chainntnfs/btcdnotify: remove redundant config params re-assignment
This commit is contained in:
@@ -129,11 +129,6 @@ func New(config *rpcclient.ConnConfig, chainParams *chaincfg.Params,
|
||||
quit: make(chan struct{}),
|
||||
}
|
||||
|
||||
// Disable connecting to btcd within the rpcclient.New method. We
|
||||
// defer establishing the connection to our .Start() method.
|
||||
config.DisableConnectOnNew = true
|
||||
config.DisableAutoReconnect = false
|
||||
|
||||
ntfnCallbacks := &rpcclient.NotificationHandlers{
|
||||
OnBlockConnected: notifier.onBlockConnected,
|
||||
OnBlockDisconnected: notifier.onBlockDisconnected,
|
||||
|
Reference in New Issue
Block a user