diff options
| author | Daniel Cousens <[email protected]> | 2016-01-15 11:55:17 +1100 |
|---|---|---|
| committer | Daniel Cousens <[email protected]> | 2016-01-21 08:36:55 +1100 |
| commit | a0eaff8a1d18ebba33cdea4cd1efaddeb55519e7 (patch) | |
| tree | 5f13a0b8968d60274d86c44b685c9c980f7a33ca /src/test/rpc_tests.cpp | |
| parent | Merge #7183: Improved readability of ApproximateBestSubset (diff) | |
| download | discoin-a0eaff8a1d18ebba33cdea4cd1efaddeb55519e7.tar.xz discoin-a0eaff8a1d18ebba33cdea4cd1efaddeb55519e7.zip | |
move rpc* to rpc/
Diffstat (limited to 'src/test/rpc_tests.cpp')
| -rw-r--r-- | src/test/rpc_tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/rpc_tests.cpp b/src/test/rpc_tests.cpp index cc52e3ea0..d6309ca38 100644 --- a/src/test/rpc_tests.cpp +++ b/src/test/rpc_tests.cpp @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include "rpcserver.h" -#include "rpcclient.h" +#include "rpc/server.h" +#include "rpc/client.h" #include "base58.h" #include "netbase.h" @@ -260,7 +260,7 @@ BOOST_AUTO_TEST_CASE(rpc_ban) adr = find_value(o1, "address"); banned_until = find_value(o1, "banned_until"); BOOST_CHECK_EQUAL(adr.get_str(), "127.0.0.0/24"); - int64_t now = GetTime(); + int64_t now = GetTime(); BOOST_CHECK(banned_until.get_int64() > now); BOOST_CHECK(banned_until.get_int64()-now <= 200); |