Merge pull request #6483 from ErikEk/remove-zmq-check

zmq: remove port checker
This commit is contained in:
Oliver Gugger authored and GitHub committed 2022-05-03 09:51:59 +02:00
commit cd21918c5d
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -530,7 +530,7 @@ func NewPartialChainControl(cfg *Config) (*PartialChainControl, func(), error) {
return nil, nil, err return nil, nil, err
} }
if url.Port() != zmqPubRawBlockURL.Port() { if url.Port() != zmqPubRawBlockURL.Port() {
return nil, nil, fmt.Errorf( log.Warnf(
"unable to subscribe to zmq block events on "+ "unable to subscribe to zmq block events on "+
"%s (bitcoind is running on %s)", "%s (bitcoind is running on %s)",
zmqPubRawBlockURL.Host, zmqPubRawBlockURL.Host,
@@ -545,7 +545,7 @@ func NewPartialChainControl(cfg *Config) (*PartialChainControl, func(), error) {
return nil, nil, err return nil, nil, err
} }
if url.Port() != zmqPubRawTxURL.Port() { if url.Port() != zmqPubRawTxURL.Port() {
return nil, nil, fmt.Errorf( log.Warnf(
"unable to subscribe to zmq tx events on "+ "unable to subscribe to zmq tx events on "+
"%s (bitcoind is running on %s)", "%s (bitcoind is running on %s)",
zmqPubRawTxURL.Host, zmqPubRawTxURL.Host,
+1 -1
View File
@@ -14,7 +14,7 @@ invoices](https://lists.linuxfoundation.org/pipermail/lightning-dev/2021-Septemb
## Security ## Security
* [Misconfigured ZMQ * [Misconfigured ZMQ
setup now gets reported](https://github.com/lightningnetwork/lnd/pull/5710). setup now logs a warning](https://github.com/lightningnetwork/lnd/pull/5710).
## Taproot ## Taproot