diff options
author | Howard Chu <hyc@symas.com> | 2017-02-21 13:50:49 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2017-02-21 13:53:13 +0000 |
commit | 80749e59a8dc355bb888a7088d6405c4c1cc2d31 (patch) | |
tree | 60f8869ab37a298ebd9850ff492a2efa9a567cbe /tests/unit_tests | |
parent | Merge pull request #1754 (diff) | |
download | monero-80749e59a8dc355bb888a7088d6405c4c1cc2d31.tar.xz |
More for PR #1724
Fix unit_tests build (get_output_key API change)
Diffstat (limited to 'tests/unit_tests')
-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 7ca5ad09d..acc78f015 100644 --- a/tests/unit_tests/hardfork.cpp +++ b/tests/unit_tests/hardfork.cpp @@ -91,7 +91,7 @@ public: virtual tx_out_index get_output_tx_and_index_from_global(const uint64_t& index) const { return tx_out_index(); } virtual tx_out_index get_output_tx_and_index(const uint64_t& amount, const uint64_t& index) const { return tx_out_index(); } virtual void get_output_tx_and_index(const uint64_t& amount, const std::vector<uint64_t> &offsets, std::vector<tx_out_index> &indices) const {} - virtual void get_output_key(const uint64_t &amount, const std::vector<uint64_t> &offsets, std::vector<output_data_t> &outputs) {} + virtual void get_output_key(const uint64_t &amount, const std::vector<uint64_t> &offsets, std::vector<output_data_t> &outputs, bool allow_partial = false) {} virtual bool can_thread_bulk_indices() const { return false; } virtual std::vector<uint64_t> get_tx_output_indices(const crypto::hash& h) const { return std::vector<uint64_t>(); } virtual std::vector<uint64_t> get_tx_amount_output_indices(const uint64_t tx_index) const { return std::vector<uint64_t>(); } |