wallet/db: make IsDummy() const

This method does a simple check and no modifications.
This commit is contained in:
Karl-Johan Alm committed 2020-03-02 17:26:30 +09:00
1 parent d366795d18
commit 7b3587b29d
1 file changed
+1 -1
+1 -1
View File
@@ -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 */