diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-05-10 13:35:44 +0200 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-06-04 09:16:05 +0200 |
commit | 53b4671a9de75f7c8e2903d510cf88867c3f6b97 (patch) | |
tree | 9bb3808d270e58f7c7a0a546110f5e9dbd941fc7 /src/bitcoin-cli.cpp | |
parent | 15982a8b69ec6ab3c3a6bf71fc6a9b681d3ff541 (diff) |
extend conversion to UniValue
Diffstat (limited to 'src/bitcoin-cli.cpp')
-rw-r--r-- | src/bitcoin-cli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index 9950153a65..9ad5fb6b1d 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -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(); |