aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2020-12-06 00:53:28 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2020-12-06 00:54:10 +0000
commit5021810650afc3073c2af6953ff046ad4d27a1fc (patch)
treefb01d2ea75bbcdcdc12de1316a14b7032158fd44 /src/validation.h
parent281cf995547f7683a9e9186bc6384a9fb6035d10 (diff)
Make CanFlushToDisk a const member function
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h
index ffb038ad75..4ec4ee8a7f 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -564,7 +564,7 @@ public:
//! @returns whether or not the CoinsViews object has been fully initialized and we can
//! safely flush this object to disk.
- bool CanFlushToDisk() EXCLUSIVE_LOCKS_REQUIRED(cs_main) {
+ bool CanFlushToDisk() const EXCLUSIVE_LOCKS_REQUIRED(cs_main) {
return m_coins_views && m_coins_views->m_cacheview;
}