mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
chainntnfs/btcdnotify: remove redundant config params re-assignment
This commit is contained in:
parent
4778b146cc
commit
611405f59c
1 changed files with 0 additions and 5 deletions
|
@ -129,11 +129,6 @@ func New(config *rpcclient.ConnConfig, chainParams *chaincfg.Params,
|
||||||
quit: make(chan struct{}),
|
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{
|
ntfnCallbacks := &rpcclient.NotificationHandlers{
|
||||||
OnBlockConnected: notifier.onBlockConnected,
|
OnBlockConnected: notifier.onBlockConnected,
|
||||||
OnBlockDisconnected: notifier.onBlockDisconnected,
|
OnBlockDisconnected: notifier.onBlockDisconnected,
|
||||||
|
|
Loading…
Add table
Reference in a new issue