diff options
Diffstat (limited to 'src/rpcclient.cpp')
-rw-r--r-- | src/rpcclient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index ec098a17a7..d175db09ee 100644 --- a/src/rpcclient.cpp +++ b/src/rpcclient.cpp @@ -12,9 +12,9 @@ #include <stdint.h> #include <boost/algorithm/string/case_conv.hpp> // for to_lower() +#include "univalue/univalue.h" using namespace std; -using namespace json_spirit; class CRPCConvertParam { @@ -137,7 +137,7 @@ UniValue RPCConvertValues(const std::string &strMethod, const std::vector<std::s // parse string as JSON, insert bool/number/object/etc. value else { //according to rfc4627 null, true, false are not valid json strings - Value jVal; + UniValue jVal; if(strVal == "null") jVal.setNull(); else if(strVal == "true") |