From 0478ac6848ac11296635eb188d5f0580dbf8b5f0 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 23 Dec 2016 16:38:28 +0000 Subject: blockchain: allow marking "tx not found" without an exception This is a normal occurence in many cases, and there is no need to spam the log with those when it is. --- tests/unit_tests/hardfork.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/unit_tests') diff --git a/tests/unit_tests/hardfork.cpp b/tests/unit_tests/hardfork.cpp index be2885f45..ca72f5e0e 100644 --- a/tests/unit_tests/hardfork.cpp +++ b/tests/unit_tests/hardfork.cpp @@ -78,6 +78,7 @@ public: virtual bool tx_exists(const crypto::hash& h, uint64_t& tx_index) const { return false; } virtual uint64_t get_tx_unlock_time(const crypto::hash& h) const { return 0; } virtual transaction get_tx(const crypto::hash& h) const { return transaction(); } + virtual bool get_tx(const crypto::hash& h, transaction &tx) const { return false; } virtual uint64_t get_tx_count() const { return 0; } virtual std::vector get_tx_list(const std::vector& hlist) const { return std::vector(); } virtual uint64_t get_tx_block_height(const crypto::hash& h) const { return 0; } -- cgit v1.2.3