diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-07-30 21:27:33 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-07-30 21:57:47 +0000 |
commit | 43f71100bc3e52d06061ef24ba13aa238c01a1f3 (patch) | |
tree | 779f563b5da1c74b290167ef74c5e8170ae2c162 /src/blockchain_db/berkeleydb | |
parent | Merge pull request #4129 (diff) | |
download | monero-43f71100bc3e52d06061ef24ba13aa238c01a1f3.tar.xz |
blockchain_db: remove unused get_output_key variant
It was actually incorrect, as it would not return commitment
Diffstat (limited to 'src/blockchain_db/berkeleydb')
-rw-r--r-- | src/blockchain_db/berkeleydb/db_bdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/berkeleydb/db_bdb.h b/src/blockchain_db/berkeleydb/db_bdb.h index c90d030a2..8c99ab255 100644 --- a/src/blockchain_db/berkeleydb/db_bdb.h +++ b/src/blockchain_db/berkeleydb/db_bdb.h @@ -303,7 +303,6 @@ public: virtual uint64_t get_indexing_base() const { return 1; } virtual output_data_t get_output_key(const uint64_t& amount, const uint64_t& index); - virtual output_data_t get_output_key(const uint64_t& global_index) const; virtual void get_output_key(const uint64_t &amount, const std::vector<uint64_t> &offsets, std::vector<output_data_t> &outputs); virtual tx_out_index get_output_tx_and_index_from_global(const uint64_t& index) const; @@ -419,6 +418,7 @@ private: * @return the global index of the desired output */ uint64_t get_output_global_index(const uint64_t& amount, const uint64_t& index); + output_data_t get_output_key(const uint64_t& global_index) const; void checkpoint_worker() const; void check_open() const; |