We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b313ca commit 347c94fCopy full SHA for 347c94f
src/zmq/zmqnotificationinterface.cpp
@@ -42,10 +42,8 @@ CZMQNotificationInterface* CZMQNotificationInterface::Create()
42
for (const auto& entry : factories)
43
{
44
std::string arg("-zmq" + entry.first);
45
- if (gArgs.IsArgSet(arg))
46
- {
47
- const auto& factory = entry.second;
48
- const std::string address = gArgs.GetArg(arg, "");
+ const auto& factory = entry.second;
+ for (const std::string& address : gArgs.GetArgs(arg)) {
49
std::unique_ptr<CZMQAbstractNotifier> notifier = factory();
50
notifier->SetType(entry.first);
51
notifier->SetAddress(address);
0 commit comments