diff options
| author | Jon Atack <[email protected]> | 2020-06-01 10:35:07 +0200 |
|---|---|---|
| committer | Jon Atack <[email protected]> | 2020-06-02 08:50:57 +0200 |
| commit | 22cb303cf099b430d602384bc92706ce01b4f98d (patch) | |
| tree | 33b99a95803fc11cfd652f24bcd85136b8bc169f /src/rpc/client.cpp | |
| parent | test: add multiwallet tests for bitcoin-cli -generate (diff) | |
| download | discoin-22cb303cf099b430d602384bc92706ce01b4f98d.tar.xz discoin-22cb303cf099b430d602384bc92706ce01b4f98d.zip | |
rpc: add missing space in JSON parsing error message, update test
Diffstat (limited to 'src/rpc/client.cpp')
| -rw-r--r-- | src/rpc/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 3045a74d7..66ace7263 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -217,7 +217,7 @@ UniValue ParseNonRFCJSONValue(const std::string& strVal) UniValue jVal; if (!jVal.read(std::string("[")+strVal+std::string("]")) || !jVal.isArray() || jVal.size()!=1) - throw std::runtime_error(std::string("Error parsing JSON:")+strVal); + throw std::runtime_error(std::string("Error parsing JSON: ") + strVal); return jVal[0]; } |