Skip to content

Commit 5021810

Browse files
Make CanFlushToDisk a const member function
1 parent 281cf99 commit 5021810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ class CChainState
564564

565565
//! @returns whether or not the CoinsViews object has been fully initialized and we can
566566
//! safely flush this object to disk.
567-
bool CanFlushToDisk() EXCLUSIVE_LOCKS_REQUIRED(cs_main) {
567+
bool CanFlushToDisk() const EXCLUSIVE_LOCKS_REQUIRED(cs_main) {
568568
return m_coins_views && m_coins_views->m_cacheview;
569569
}
570570

0 commit comments

Comments
 (0)