diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-12-23 16:38:28 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-07 20:52:17 +0000 |
| commit | 0478ac6848ac11296635eb188d5f0580dbf8b5f0 (patch) | |
| tree | cf1d50eb28e5203693810363653554ea13684137 /tests/unit_tests/hardfork.cpp | |
| parent | 049b7e9a9301d225b4a8e7f40c5e446e5911b825 (diff) | |
| download | monzero-core-0478ac6848ac11296635eb188d5f0580dbf8b5f0.tar.gz monzero-core-0478ac6848ac11296635eb188d5f0580dbf8b5f0.tar.xz monzero-core-0478ac6848ac11296635eb188d5f0580dbf8b5f0.zip | |
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.
Diffstat (limited to 'tests/unit_tests/hardfork.cpp')
| -rw-r--r-- | tests/unit_tests/hardfork.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<transaction> get_tx_list(const std::vector<crypto::hash>& hlist) const { return std::vector<transaction>(); } virtual uint64_t get_tx_block_height(const crypto::hash& h) const { return 0; } |
