multi: new bitcoind rpcpolling backend for itests

This commit is contained in:
Elle Mouton committed 2022-05-11 09:02:13 +02:00
1 parent 7509af1a70
commit e789107e1f
7 files changed
+62 -18

No files matched your search

+1 -1
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