multi: new bitcoind rpcpolling backend for itests

This commit is contained in:
Elle Mouton
2022-03-10 10:32:32 +00:00
parent 7509af1a70
commit e789107e1f
7 changed files with 62 additions and 18 deletions

View File

@@ -507,7 +507,7 @@ func NewPartialChainControl(cfg *Config) (*PartialChainControl, func(), error) {
// version 0.17.0) we make sure lnd subscribes to the correct
// zmq events. We do this to avoid a situation in which we are
// not notified of new transactions or blocks.
if ver >= 170000 {
if ver >= 170000 && !bitcoindMode.RPCPolling {
zmqPubRawBlockURL, err := url.Parse(bitcoindMode.ZMQPubRawBlock)
if err != nil {
return nil, nil, err