From 7b3587b29db9eaf11718fc09d48817a45a0a429a Mon Sep 17 00:00:00 2001 From: Karl-Johan Alm Date: Mon, 2 Mar 2020 16:39:52 +0900 Subject: [PATCH] wallet/db: make IsDummy() const This method does a simple check and no modifications. --- src/wallet/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */