aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-03-02 16:39:52 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-03-02 17:26:30 +0900
commit7b3587b29db9eaf11718fc09d48817a45a0a429a (patch)
tree97026a7b81ce5b860f8b53f60076c558548e63c2 /src/wallet
parentd366795d180bc52ba750f71f201a6e5e0c40f1b6 (diff)
wallet/db: make IsDummy() const
This method does a simple check and no modifications.
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h
index fae210d505..bebaa55d05 100644
--- a/src/wallet/db.h
+++ b/src/wallet/db.h
@@ -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 */