aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/node_server.cpp
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2025-12-29 22:24:38 +0000
committertobtoht <tob@featherwallet.org>2025-12-29 22:24:38 +0000
commit9dff86103e72e1d03fe62c3c4ee5be382c19e672 (patch)
treefba179b09b4dd507bf185f553d2feab2106b03e5 /tests/unit_tests/node_server.cpp
parent4862ffd5dc9c37cd81dd9a2c088852186d2f972e (diff)
parentd8d3cf97300480b9d3942c667978dd4860b76feb (diff)
downloadmonzero-core-9dff86103e72e1d03fe62c3c4ee5be382c19e672.tar.gz
monzero-core-9dff86103e72e1d03fe62c3c4ee5be382c19e672.tar.xz
monzero-core-9dff86103e72e1d03fe62c3c4ee5be382c19e672.zip
Merge pull request #10257
d8d3cf9 p2p: fix race causing dropped connections during sync (j-berman)
Diffstat (limited to 'tests/unit_tests/node_server.cpp')
-rw-r--r--tests/unit_tests/node_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/node_server.cpp b/tests/unit_tests/node_server.cpp
index 58a6fbc4a..e55b43911 100644
--- a/tests/unit_tests/node_server.cpp
+++ b/tests/unit_tests/node_server.cpp
@@ -56,7 +56,7 @@ public:
void set_target_blockchain_height(uint64_t) {}
bool init(const boost::program_options::variables_map& vm) {return true ;}
bool deinit(){return true;}
- bool get_short_chain_history(std::list<crypto::hash>& ids) const { return true; }
+ bool get_short_chain_history(std::list<crypto::hash>& ids, uint64_t& current_height) const { return true; }
bool have_block(const crypto::hash& id, int *where = NULL) const {return false;}
bool have_block_unlocked(const crypto::hash& id, int *where = NULL) const {return false;}
void get_blockchain_top(uint64_t& height, crypto::hash& top_id)const{height=0;top_id=crypto::null_hash;}