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/rpcclient.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/rpcclient.cpp')
| -rw-r--r-- | src/rpcclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index 4b576b370..d8c4da420 100644 --- a/src/rpcclient.cpp +++ b/src/rpcclient.cpp @@ -135,7 +135,7 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector<std::stri // parse string as JSON, insert bool/number/object/etc. value else { Value jVal; - if (!read_string(strVal, jVal)) + if (!jVal.read(strVal)) throw runtime_error(string("Error parsing JSON:")+strVal); params.push_back(jVal); } |