Skip to content

Commit 7b3587b

Browse files
committed
wallet/db: make IsDummy() const
This method does a simple check and no modifications.
1 parent d366795 commit 7b3587b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/db.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ class BerkeleyDatabase
193193
* Only to be used at a low level, application should ideally not care
194194
* about this.
195195
*/
196-
bool IsDummy() { return env == nullptr; }
196+
bool IsDummy() const { return env == nullptr; }
197197
};
198198

199199
/** RAII class that provides access to a Berkeley database */

0 commit comments

Comments
 (0)