aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/levin.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-11-29 01:58:13 -0600
committerluigi1111 <luigi1111w@gmail.com>2020-11-29 01:58:13 -0600
commit36d31ba0be5df567e9bda0a00c8f94d9dc3f3cc2 (patch)
treedd069113b17d67af19909f8bca5747a5e758fa10 /tests/unit_tests/levin.cpp
parentMerge pull request #7008 (diff)
parentcryptonote_core: dandelion - use local height or median height if syncing (diff)
downloadmonero-36d31ba0be5df567e9bda0a00c8f94d9dc3f3cc2.tar.xz
Merge pull request #7018
a9cd5d9 cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
Diffstat (limited to 'tests/unit_tests/levin.cpp')
-rw-r--r--tests/unit_tests/levin.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/unit_tests/levin.cpp b/tests/unit_tests/levin.cpp
index 128d51fb3..22638942d 100644
--- a/tests/unit_tests/levin.cpp
+++ b/tests/unit_tests/levin.cpp
@@ -120,7 +120,12 @@ namespace
{
std::map<cryptonote::relay_method, std::vector<cryptonote::blobdata>> relayed_;
- uint64_t get_target_blockchain_height() const override
+ virtual bool is_synchronized() const final
+ {
+ return false;
+ }
+
+ virtual uint64_t get_current_blockchain_height() const final
{
return 0;
}