diff options
author | Cozz Lovan <cozzlovan@yahoo.com> | 2014-05-10 00:39:49 +0200 |
---|---|---|
committer | Cozz Lovan <cozzlovan@yahoo.com> | 2014-05-10 00:39:49 +0200 |
commit | b641c9cd217f7789726bb25ab87cd35e2e5fcaad (patch) | |
tree | 705e5c8802f3ee6be7b7538dc362643e42a852b8 /src/rpcnet.cpp | |
parent | 605d5b55582f00ea8a089fe632cd8a52e951126b (diff) |
Fix addnode "onetry": Connect with OpenNetworkConnection
Diffstat (limited to 'src/rpcnet.cpp')
-rw-r--r-- | src/rpcnet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp index 573d6cd3f6..0a2bfbac60 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; } |