File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
- #include < rpc/client.h>
6
- #include < rpc/server.h>
7
- #include < rpc/util.h>
8
-
9
5
#include < core_io.h>
10
6
#include < interfaces/chain.h>
11
7
#include < node/context.h>
8
+ #include < rpc/blockchain.h>
9
+ #include < rpc/client.h>
10
+ #include < rpc/server.h>
11
+ #include < rpc/util.h>
12
12
#include < test/util/setup_common.h>
13
+ #include < univalue.h>
13
14
#include < util/time.h>
14
15
15
16
#include < any>
16
17
17
- #include < boost/algorithm/string.hpp>
18
18
#include < boost/test/unit_test.hpp>
19
19
20
- #include < univalue.h>
21
-
22
- #include < rpc/blockchain.h>
23
-
24
20
class RPCTestingSetup : public TestingSetup
25
21
{
26
22
public:
@@ -29,8 +25,7 @@ class RPCTestingSetup : public TestingSetup
29
25
30
26
UniValue RPCTestingSetup::CallRPC (std::string args)
31
27
{
32
- std::vector<std::string> vArgs;
33
- boost::split (vArgs, args, boost::is_any_of (" \t " ));
28
+ std::vector<std::string> vArgs{SplitString (args, ' ' )};
34
29
std::string strMethod = vArgs[0 ];
35
30
vArgs.erase (vArgs.begin ());
36
31
JSONRPCRequest request;
You can’t perform that action at this time.
0 commit comments