aboutsummaryrefslogtreecommitdiff
path: root/src/index/coinstatsindex.h
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2023-09-08 10:04:14 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2023-09-08 10:04:14 -0300
commitc0bf667912064960df194ea94150976b34f7c267 (patch)
tree43cd477c4ace8a5f769b87295163109e558faad4 /src/index/coinstatsindex.h
parenteef595560e9ecf3a0d1db4d8ea7ecc33a49d839f (diff)
index: add [nodiscard] attribute to functions writing to the db
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 21ce4c4767..d6322bfa7c 100644
--- a/src/index/coinstatsindex.h
+++ b/src/index/coinstatsindex.h
@@ -38,7 +38,7 @@ private:
CAmount m_total_unspendables_scripts{0};
CAmount m_total_unspendables_unclaimed_rewards{0};
- bool ReverseBlock(const CBlock& block, const CBlockIndex* pindex);
+ [[nodiscard]] bool ReverseBlock(const CBlock& block, const CBlockIndex* pindex);
bool AllowPrune() const override { return true; }