diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-11-29 01:58:13 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-11-29 01:58:13 -0600 |
| commit | 36d31ba0be5df567e9bda0a00c8f94d9dc3f3cc2 (patch) | |
| tree | dd069113b17d67af19909f8bca5747a5e758fa10 /tests/unit_tests/node_server.cpp | |
| parent | ad843541d526ef9216f5cfbfd7c18f859964c4d2 (diff) | |
| parent | a9cd5d914e032f2ae6ce56e6b48f0f47d3a56ad7 (diff) | |
| download | monzero-core-36d31ba0be5df567e9bda0a00c8f94d9dc3f3cc2.tar.gz monzero-core-36d31ba0be5df567e9bda0a00c8f94d9dc3f3cc2.tar.xz monzero-core-36d31ba0be5df567e9bda0a00c8f94d9dc3f3cc2.zip | |
Merge pull request #7018
a9cd5d9 cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
Diffstat (limited to 'tests/unit_tests/node_server.cpp')
| -rw-r--r-- | tests/unit_tests/node_server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit_tests/node_server.cpp b/tests/unit_tests/node_server.cpp index 588e91d02..0191e5aa4 100644 --- a/tests/unit_tests/node_server.cpp +++ b/tests/unit_tests/node_server.cpp @@ -47,9 +47,10 @@ namespace cryptonote { class test_core : public cryptonote::i_core_events { public: + virtual bool is_synchronized() const final { return true; } void on_synchronized(){} void safesyncmode(const bool){} - uint64_t get_current_blockchain_height() const {return 1;} + virtual uint64_t get_current_blockchain_height() const final {return 1;} void set_target_blockchain_height(uint64_t) {} bool init(const boost::program_options::variables_map& vm) {return true ;} bool deinit(){return true;} |
