mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
extend conversion to UniValue
This commit is contained in:
parent
15982a8b69
commit
53b4671a9d
13 changed files with 76 additions and 69 deletions
|
|
@ -142,7 +142,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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue