diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-05-21 20:41:44 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-05-21 20:41:44 +0200 |
commit | 81db1973832404da3cca271ba06507cfe0346ea9 (patch) | |
tree | 1c9d34692baa50c0fcb3346a68b2d2b43941d5ac | |
parent | Merge pull request #3794 (diff) | |
parent | Revert "Merge pull request #3775" (diff) | |
download | monero-81db1973832404da3cca271ba06507cfe0346ea9.tar.xz |
Merge pull request #3841
ff31611a Revert "Merge pull request #3775" (Riccardo Spagni)
-rw-r--r-- | tests/unit_tests/hardfork.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/hardfork.cpp b/tests/unit_tests/hardfork.cpp index 507cec8cf..3e2199217 100644 --- a/tests/unit_tests/hardfork.cpp +++ b/tests/unit_tests/hardfork.cpp @@ -112,7 +112,7 @@ public: virtual bool for_all_outputs(std::function<bool(uint64_t amount, const crypto::hash &tx_hash, uint64_t height, size_t tx_idx)> f) const { return true; } virtual bool for_all_outputs(uint64_t amount, const std::function<bool(uint64_t height)> &f) const { return true; } virtual bool is_read_only() const { return false; } - virtual std::map<uint64_t, std::tuple<uint64_t, uint64_t, uint64_t>> get_output_histogram(const std::vector<uint64_t> &amounts, bool unlocked, uint64_t recent_cutoff, uint64_t min_count) const { return std::map<uint64_t, std::tuple<uint64_t, uint64_t, uint64_t>>(); } + virtual std::map<uint64_t, std::tuple<uint64_t, uint64_t, uint64_t>> get_output_histogram(const std::vector<uint64_t> &amounts, bool unlocked, uint64_t recent_cutoff) const { return std::map<uint64_t, std::tuple<uint64_t, uint64_t, uint64_t>>(); } virtual void add_txpool_tx(const transaction &tx, const txpool_tx_meta_t& details) {} virtual void update_txpool_tx(const crypto::hash &txid, const txpool_tx_meta_t& details) {} |