zmq: remove port check error

This commit is contained in:
ErikEk committed 2022-05-02 13:50:23 +02:00
1 parent 9bbee09497
commit 30a857b982
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
}
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,