aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/levin.cpp
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-11-20 11:37:19 +0000
committerxiphon <xiphon@protonmail.com>2020-11-25 01:27:42 +0000
commita9cd5d914e032f2ae6ce56e6b48f0f47d3a56ad7 (patch)
treed38857614b328ebccf77fba6bed35834ff029fa6 /tests/unit_tests/levin.cpp
parentMerge pull request #7007 (diff)
downloadmonero-a9cd5d914e032f2ae6ce56e6b48f0f47d3a56ad7.tar.xz
cryptonote_core: dandelion - use local height or median height if syncing
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 9ff68d927..e7f9e126f 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;
}