mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
multi: make ZmqReadDeadline configurable
Make the Bitcoind ZMQReadDeadline option configurable.
This commit is contained in:
@@ -409,7 +409,7 @@ func NewPartialChainControl(cfg *Config) (*PartialChainControl, func(), error) {
|
||||
ZMQConfig: &chain.ZMQConfig{
|
||||
ZMQBlockHost: bitcoindMode.ZMQPubRawBlock,
|
||||
ZMQTxHost: bitcoindMode.ZMQPubRawTx,
|
||||
ZMQReadDeadline: 5 * time.Second,
|
||||
ZMQReadDeadline: bitcoindMode.ZMQReadDeadline,
|
||||
},
|
||||
Dialer: cfg.Dialer,
|
||||
PrunedModeMaxPeers: bitcoindMode.PrunedNodeMaxPeers,
|
||||
|
Reference in New Issue
Block a user