mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-18 11:30:44 +01:00
wallet/db: make IsDummy() const
This method does a simple check and no modifications.
This commit is contained in:
@@ -193,7 +193,7 @@ private:
|
||||
* Only to be used at a low level, application should ideally not care
|
||||
* about this.
|
||||
*/
|
||||
bool IsDummy() { return env == nullptr; }
|
||||
bool IsDummy() const { return env == nullptr; }
|
||||
};
|
||||
|
||||
/** RAII class that provides access to a Berkeley database */
|
||||
|
||||
Reference in New Issue
Block a user