Validate zmqpubhashwallettx and zmqpubrawwallettx port numbers

Based on 04526787b5
This commit is contained in:
Luke Dashjr 2022-06-12 21:57:51 +00:00
parent 3562127ae2
commit 5d9255a4ee

View File

@ -1287,6 +1287,8 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
"-zmqpubrawblock",
"-zmqpubrawtx",
"-zmqpubsequence",
"-zmqpubhashwallettx",
"-zmqpubrawwallettx",
}) {
for (const std::string& socket_addr : args.GetArgs(port_option)) {
std::string host_out;