From bcdc6c62b77858d4cbf59a9035d97dd2474e891f Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 27 Dec 2020 14:13:26 +0000 Subject: protocol: fix false positives dropping peers it'd trigger on reorgs --- tests/core_proxy/core_proxy.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/core_proxy') diff --git a/tests/core_proxy/core_proxy.h b/tests/core_proxy/core_proxy.h index ecfcc18ae..ebc3a89c2 100644 --- a/tests/core_proxy/core_proxy.h +++ b/tests/core_proxy/core_proxy.h @@ -112,5 +112,6 @@ namespace tests bool prune_blockchain(uint32_t pruning_seed) const { return true; } bool get_txpool_complement(const std::vector &hashes, std::vector &txes) { return false; } bool get_pool_transaction_hashes(std::vector& txs, bool include_unrelayed_txes = true) const { return false; } + crypto::hash get_block_id_by_height(uint64_t height) const { return crypto::null_hash; } }; } -- cgit v1.2.3