mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge 3d28725134 into merged_master (Bitcoin PR bitcoin/bitcoin#29968)
This commit is contained in:
commit
cdfdfa85fe
1 changed files with 2 additions and 4 deletions
|
|
@ -1443,7 +1443,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
|
|||
}
|
||||
}
|
||||
|
||||
for (const auto &port_option : std::vector<std::pair<std::string, bool>>{
|
||||
for ([[maybe_unused]] const auto& [arg, unix] : std::vector<std::pair<std::string, bool>>{
|
||||
// arg name UNIX socket support
|
||||
{"-i2psam", false},
|
||||
{"-onion", true},
|
||||
|
|
@ -1455,10 +1455,8 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
|
|||
{"-zmqpubhashtx", true},
|
||||
{"-zmqpubrawblock", true},
|
||||
{"-zmqpubrawtx", true},
|
||||
{"-zmqpubsequence", true}
|
||||
{"-zmqpubsequence", true},
|
||||
}) {
|
||||
const std::string arg{port_option.first};
|
||||
const bool unix{port_option.second};
|
||||
for (const std::string& socket_addr : args.GetArgs(arg)) {
|
||||
std::string host_out;
|
||||
uint16_t port_out{0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue