mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 12:58:53 +00:00
Allow priority peers when there are exclusive peers
Per my reading this change makes sense since a subset of the exclusive peers could be priority peers. Priority peers that are not exclusive will not get loaded, and priority peers that *are* exclusive will get special treatment. Prior to this change it looks like priority peers were silently ignored when exclusive peers were provided.
This commit is contained in:
parent
bd7d20a58a
commit
17f0967472
@ -130,7 +130,7 @@ namespace nodetool
|
||||
if (!parse_peers_and_add_to_container(vm, arg_p2p_add_exclusive_node, m_exclusive_peers))
|
||||
return false;
|
||||
}
|
||||
else if (command_line::has_arg(vm, arg_p2p_add_priority_node))
|
||||
if (command_line::has_arg(vm, arg_p2p_add_priority_node))
|
||||
{
|
||||
if (!parse_peers_and_add_to_container(vm, arg_p2p_add_priority_node, m_priority_peers))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user