extend conversion to UniValue

This commit is contained in:
Jonas Schnelli
2017-02-10 00:35:24 +00:00
committed by Jack Grigg
parent ed21d5bd4b
commit 9756b7bd29
13 changed files with 76 additions and 69 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ Object CallRPC(const string& strMethod, const Array& params)
throw runtime_error("no response from server");
// Parse reply
Value valReply;
Value valReply(UniValue::VSTR);
if (!valReply.read(strReply))
throw runtime_error("couldn't parse reply from server");
const Object& reply = valReply.get_obj();