diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-12-27 14:13:26 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-12-27 14:41:19 +0000 |
commit | bcdc6c62b77858d4cbf59a9035d97dd2474e891f (patch) | |
tree | f3f0f52a7d465548b43981e2826f7325f716d81c /tests/unit_tests/node_server.cpp | |
parent | Merge pull request #7199 (diff) | |
download | monero-bcdc6c62b77858d4cbf59a9035d97dd2474e891f.tar.xz |
protocol: fix false positives dropping peers
it'd trigger on reorgs
Diffstat (limited to 'tests/unit_tests/node_server.cpp')
-rw-r--r-- | tests/unit_tests/node_server.cpp | 1 |
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() {} }; |