diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-09-01 11:29:22 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-09-01 11:29:22 +0200 |
commit | d3994f1df0bf9a842e6fd58a87928cc73b07c91d (patch) | |
tree | f70094f1b2f1c83c45c64a4bfca90c6e8ef1e3ad /tests | |
parent | Merge pull request #1016 (diff) | |
parent | core: faster find_blockchain_supplement (diff) | |
download | monero-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.cpp | 2 |
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(); } |