aboutsummaryrefslogtreecommitdiff
path: root/src/index/coinstatsindex.h
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2022-01-17 20:33:52 -0500
committerRyan Ofsky <ryan@ofsky.org>2022-07-18 13:39:55 -0500
commitee3a079fab2c33b4186b62ab822753954a4e545f (patch)
tree6f38188bc651d5d3ea4a4a295b578b68e94998ba /src/index/coinstatsindex.h
parentdc971be0831959e7ee6a6df9e1aa46091351a8fb (diff)
indexes, refactor: Remove CBlockIndex* uses in index Rewind methods
Replace Rewind method with CustomRewind and pass block hashes and heights instead of CBlockIndex* pointers This commit does not change behavior in any way.
Diffstat (limited to 'src/index/coinstatsindex.h')
-rw-r--r--src/index/coinstatsindex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/coinstatsindex.h b/src/index/coinstatsindex.h
index c90a5cf4fb..221dd21a20 100644
--- a/src/index/coinstatsindex.h
+++ b/src/index/coinstatsindex.h
@@ -45,7 +45,7 @@ protected:
bool CustomAppend(const interfaces::BlockInfo& block) override;
- bool Rewind(const CBlockIndex* current_tip, const CBlockIndex* new_tip) override;
+ bool CustomRewind(const interfaces::BlockKey& current_tip, const interfaces::BlockKey& new_tip) override;
BaseIndex::DB& GetDB() const override { return *m_db; }