diff options
author | xiphon <xiphon@protonmail.com> | 2020-11-20 11:37:19 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-11-25 01:26:03 +0000 |
commit | 9d7f473af02c891def925594c43d1e6833e47309 (patch) | |
tree | 43bd1e4b60c3986a92b67c9ecd8a59fa8cf16abb /tests/unit_tests/levin.cpp | |
parent | Merge pull request #7011 (diff) | |
download | monero-9d7f473af02c891def925594c43d1e6833e47309.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.cpp | 7 |
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; } |