aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/node_server.cpp
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-12-28 11:39:01 -0800
committerAlexander Blair <snipa@jagtech.io>2020-12-28 11:39:01 -0800
commit2bccbeecb3cf931e80a2b299763f7b4b39dc9eaa (patch)
tree313ba86d0736f5c61d94311c4b5da5c4898d7440 /tests/unit_tests/node_server.cpp
parentb8808603787473a08f016bd46ce273bc73e95c96 (diff)
parentbcdc6c62b77858d4cbf59a9035d97dd2474e891f (diff)
downloadmonzero-core-2bccbeecb3cf931e80a2b299763f7b4b39dc9eaa.tar.gz
monzero-core-2bccbeecb3cf931e80a2b299763f7b4b39dc9eaa.tar.xz
monzero-core-2bccbeecb3cf931e80a2b299763f7b4b39dc9eaa.zip
Merge pull request #7205
bcdc6c62b protocol: fix false positives dropping peers (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests/node_server.cpp')
-rw-r--r--tests/unit_tests/node_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/node_server.cpp b/tests/unit_tests/node_server.cpp
index 0191e5aa4..0569d3748 100644
--- a/tests/unit_tests/node_server.cpp
+++ b/tests/unit_tests/node_server.cpp
@@ -93,6 +93,7 @@ public:
bool has_block_weights(uint64_t height, uint64_t nblocks) const { return false; }
bool get_txpool_complement(const std::vector<crypto::hash> &hashes, std::vector<cryptonote::blobdata> &txes) { return false; }
bool get_pool_transaction_hashes(std::vector<crypto::hash>& txs, bool include_unrelayed_txes = true) const { return false; }
+ crypto::hash get_block_id_by_height(uint64_t height) const { return crypto::null_hash; }
void stop() {}
};