[net/refactor] Add manual connections to ConnectionType enum

This commit is contained in:
Amiti Uttarwar
2020-04-29 14:55:59 -07:00
parent 26304b4100
commit 1521c47438
4 changed files with 19 additions and 31 deletions

View File

@@ -264,7 +264,7 @@ static UniValue addnode(const JSONRPCRequest& request)
if (strCommand == "onetry")
{
CAddress addr;
node.connman->OpenNetworkConnection(addr, false, nullptr, strNode.c_str(), false, false, true);
node.connman->OpenNetworkConnection(addr, false, nullptr, strNode.c_str(), false, false, ConnectionType::MANUAL);
return NullUniValue;
}