aboutsummaryrefslogtreecommitdiff
path: root/src/rpcnet.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-23 10:03:07 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-23 11:39:18 +0200
commit1b7bcba1c12abbf52f0970a350c6c523dc871f77 (patch)
treea597149ecf420f8f05b9627a6bbf18ac5892976b /src/rpcnet.cpp
parenta48355dc44e8b86c2fc9f8b7973ac9e81a295be7 (diff)
parentb641c9cd217f7789726bb25ab87cd35e2e5fcaad (diff)
Merge pull request #4166
b641c9c Fix addnode "onetry": Connect with OpenNetworkConnection (Cozz Lovan)
Diffstat (limited to 'src/rpcnet.cpp')
-rw-r--r--src/rpcnet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp
index 024f6a09de..63eed09b64 100644
--- a/src/rpcnet.cpp
+++ b/src/rpcnet.cpp
@@ -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;
}