diff options
| author | Jeff Garzik <[email protected]> | 2014-08-20 15:15:16 -0400 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2015-06-04 09:16:05 +0200 |
| commit | 15982a8b69ec6ab3c3a6bf71fc6a9b681d3ff541 (patch) | |
| tree | 854a48a039d4199dbc1acf33ef94d06d007f1348 /src/rpcnet.cpp | |
| parent | UniValue: export NullUniValue global constant (diff) | |
| download | discoin-15982a8b69ec6ab3c3a6bf71fc6a9b681d3ff541.tar.xz discoin-15982a8b69ec6ab3c3a6bf71fc6a9b681d3ff541.zip | |
Convert tree to using univalue. Eliminate all json_spirit uses.
Diffstat (limited to 'src/rpcnet.cpp')
| -rw-r--r-- | src/rpcnet.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp index bdee5b9f2..3f46be0cc 100644 --- a/src/rpcnet.cpp +++ b/src/rpcnet.cpp @@ -16,7 +16,7 @@ #include <boost/foreach.hpp> -#include "json/json_spirit_value.h" +#include "json_spirit_wrapper.h" using namespace json_spirit; using namespace std; @@ -59,7 +59,7 @@ Value ping(const Array& params, bool fHelp) pNode->fPingQueued = true; } - return Value::null; + return NullUniValue; } static void CopyNodeStats(std::vector<CNodeStats>& vstats) @@ -190,7 +190,7 @@ Value addnode(const Array& params, bool fHelp) { CAddress addr; OpenNetworkConnection(addr, NULL, strNode.c_str()); - return Value::null; + return NullUniValue; } LOCK(cs_vAddedNodes); @@ -212,7 +212,7 @@ Value addnode(const Array& params, bool fHelp) vAddedNodes.erase(it); } - return Value::null; + return NullUniValue; } Value getaddednodeinfo(const Array& params, bool fHelp) |