diff options
author | Anthony Towns <aj@erisian.com.au> | 2022-03-02 15:42:57 +1000 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2022-03-09 14:32:47 -0500 |
commit | 5be9ee3c54dcb396ff52fc8c8b7e4e6e39ec4a3b (patch) | |
tree | 8b28727e7425f6ffd9f7eb6d86c978befdbb1b23 /src/validation.h | |
parent | 430acb7d2a3272977d5a66bf9a09bcd55ffd15cc (diff) |
refactor: more const annotations for uses of CBlockIndex*
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index cc2247239f..28887909ad 100644 --- a/src/validation.h +++ b/src/validation.h @@ -693,7 +693,7 @@ public: bool IsInitialBlockDownload() const; /** Find the last common block of this chain and a locator. */ - CBlockIndex* FindForkInGlobalIndex(const CBlockLocator& locator) const EXCLUSIVE_LOCKS_REQUIRED(cs_main); + const CBlockIndex* FindForkInGlobalIndex(const CBlockLocator& locator) const EXCLUSIVE_LOCKS_REQUIRED(cs_main); /** * Make various assertions about the state of the block index. |