aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/ban.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-01 10:09:51 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-01 10:09:51 +0100
commitbaa3e80140b880b111984ea13e3c565846812811 (patch)
tree73a77c9715cdb15bfbdb7cd1fa326c19454d9740 /tests/unit_tests/ban.cpp
parentMerge pull request #1124 (diff)
downloadmonero-baa3e80140b880b111984ea13e3c565846812811.tar.xz
tests: fix build after addition of cryptonote_core::get_block_sync_size
Diffstat (limited to '')
-rw-r--r--tests/unit_tests/ban.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/ban.cpp b/tests/unit_tests/ban.cpp
index a5ce244d9..85b0298b7 100644
--- a/tests/unit_tests/ban.cpp
+++ b/tests/unit_tests/ban.cpp
@@ -62,6 +62,7 @@ public:
bool prepare_handle_incoming_blocks(const std::list<cryptonote::block_complete_entry> &blocks) { return true; }
bool cleanup_handle_incoming_blocks(bool force_sync = false) { return true; }
uint64_t get_target_blockchain_height() const { return 1; }
+ size_t get_block_sync_size() const { return BLOCKS_SYNCHRONIZING_DEFAULT_COUNT; }
};
typedef nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<test_core>> Server;