aboutsummaryrefslogtreecommitdiff
path: root/src/test/rpc_tests.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-01-28 11:08:51 +0100
committerWladimir J. van der Laan <[email protected]>2016-01-28 11:28:24 +0100
commit62f2d769e45043c1f262ed45babb70fe237ad2bb (patch)
tree23fc429dc67fc4455d108a5f727e50dbb9571604 /src/test/rpc_tests.cpp
parentMerge #7425: devtools: Fix utf-8 support in messages for github-merge (diff)
parentrpc: update inline comments to refer to new file paths (diff)
downloaddiscoin-62f2d769e45043c1f262ed45babb70fe237ad2bb.tar.xz
discoin-62f2d769e45043c1f262ed45babb70fe237ad2bb.zip
Merge #7348: MOVE ONLY: move rpc* to rpc/
d13f65e rpc: update inline comments to refer to new file paths (Daniel Cousens) a0eaff8 move rpc* to rpc/ (Daniel Cousens)
Diffstat (limited to 'src/test/rpc_tests.cpp')
-rw-r--r--src/test/rpc_tests.cpp6
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);