File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ FIND_PATH(JSONCPP_INCLUDE_DIRS json.h
12
12
/usr/include
13
13
/usr/local/include
14
14
${CMAKE_SOURCE_DIR} /win32-deps/include
15
- PATH_SUFFIXES jsoncpp/json jsoncpp
15
+ PATH_SUFFIXES jsoncpp/json jsoncpp json
16
16
)
17
17
18
18
Original file line number Diff line number Diff line change 13
13
#include < string>
14
14
#include < sstream>
15
15
16
- #include < jsoncpp/ json/json.h>
17
- #include < jsoncpp/ json/reader.h>
18
- #include < jsoncpp/ json/value.h>
16
+ #include < json/json.h>
17
+ #include < json/reader.h>
18
+ #include < json/value.h>
19
19
#include < jsonrpccpp/client.h>
20
20
21
21
using Json::Value;
@@ -31,11 +31,11 @@ class BitcoinException: public std::exception
31
31
32
32
public:
33
33
explicit BitcoinException (int errcode, const std::string& message) {
34
-
34
+
35
35
/* Connection error */
36
36
if (errcode == Errors::ERROR_CLIENT_CONNECTOR){
37
37
this ->code = errcode;
38
- this ->msg = removePrefix (message, " -> " );
38
+ this ->msg = removePrefix (message, " -> " );
39
39
/* Authentication error */
40
40
}else if (errcode == Errors::ERROR_RPC_INTERNAL_ERROR && message.size () == 18 ){
41
41
this ->code = errcode;
Original file line number Diff line number Diff line change 13
13
#include < string>
14
14
#include < vector>
15
15
16
- #include < jsoncpp/ json/json.h>
16
+ #include < json/json.h>
17
17
18
18
/* === General types === */
19
19
struct getinfo_t {
You can’t perform that action at this time.
0 commit comments