aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-09-01 11:29:22 +0200
committerRiccardo Spagni <ric@spagni.net>2016-09-01 11:29:22 +0200
commitd3994f1df0bf9a842e6fd58a87928cc73b07c91d (patch)
treef70094f1b2f1c83c45c64a4bfca90c6e8ef1e3ad /tests
parentMerge pull request #1016 (diff)
parentcore: faster find_blockchain_supplement (diff)
downloadmonero-d3994f1df0bf9a842e6fd58a87928cc73b07c91d.tar.xz
Merge pull request #1018
6cf8ca2 core: faster find_blockchain_supplement (moneromooo-monero)
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/hardfork.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/hardfork.cpp b/tests/unit_tests/hardfork.cpp
index a279b6c68..b3bd47687 100644
--- a/tests/unit_tests/hardfork.cpp
+++ b/tests/unit_tests/hardfork.cpp
@@ -58,7 +58,7 @@ public:
virtual void block_txn_stop() {}
virtual void block_txn_abort() {}
virtual void drop_hard_fork_info() {}
- virtual bool block_exists(const crypto::hash& h) const { return false; }
+ virtual bool block_exists(const crypto::hash& h, uint64_t *height) const { return false; }
virtual block get_block(const crypto::hash& h) const { return block(); }
virtual uint64_t get_block_height(const crypto::hash& h) const { return 0; }
virtual block_header get_block_header(const crypto::hash& h) const { return block_header(); }