Fix addnode "onetry": Connect with OpenNetworkConnection

This commit is contained in:
Cozz Lovan
2014-05-10 00:39:49 +02:00
parent 605d5b5558
commit b641c9cd21
3 changed files with 2 additions and 4 deletions

View File

@@ -166,7 +166,7 @@ Value addnode(const Array& params, bool fHelp)
if (strCommand == "onetry")
{
CAddress addr;
ConnectNode(addr, strNode.c_str());
OpenNetworkConnection(addr, NULL, strNode.c_str());
return Value::null;
}