diff options
| author | Karl-Johan Alm <[email protected]> | 2020-03-02 16:39:52 +0900 |
|---|---|---|
| committer | Karl-Johan Alm <[email protected]> | 2020-03-02 17:26:30 +0900 |
| commit | 7b3587b29db9eaf11718fc09d48817a45a0a429a (patch) | |
| tree | 97026a7b81ce5b860f8b53f60076c558548e63c2 /src/wallet | |
| parent | wallet/db: make Backup() const (diff) | |
| download | discoin-7b3587b29db9eaf11718fc09d48817a45a0a429a.tar.xz discoin-7b3587b29db9eaf11718fc09d48817a45a0a429a.zip | |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h index fae210d50..bebaa55d0 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 */ |