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

zmq: remove port checker
This commit is contained in:
Oliver Gugger 2022-05-03 09:51:59 +02:00 committed by GitHub
commit cd21918c5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -530,7 +530,7 @@ func NewPartialChainControl(cfg *Config) (*PartialChainControl, func(), error) {
return nil, nil, err
}
if url.Port() != zmqPubRawBlockURL.Port() {
return nil, nil, fmt.Errorf(
log.Warnf(
"unable to subscribe to zmq block events on "+
"%s (bitcoind is running on %s)",
zmqPubRawBlockURL.Host,
@ -545,7 +545,7 @@ func NewPartialChainControl(cfg *Config) (*PartialChainControl, func(), error) {
return nil, nil, err
}
if url.Port() != zmqPubRawTxURL.Port() {
return nil, nil, fmt.Errorf(
log.Warnf(
"unable to subscribe to zmq tx events on "+
"%s (bitcoind is running on %s)",
zmqPubRawTxURL.Host,

View file

@ -14,7 +14,7 @@ invoices](https://lists.linuxfoundation.org/pipermail/lightning-dev/2021-Septemb
## Security
* [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