aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.h
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2020-10-11 23:19:44 +0100
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2020-10-14 21:47:42 +0100
commit5e737a009234cbd7cf53748d3d28a2da5221192f (patch)
tree6683dfbc179aecb368de0f8fc94fd29d86ce485c /src/wallet/scriptpubkeyman.h
parentc4a29d0a90b821c443c10891d9326c534d15cf97 (diff)
downloadbitcoin-5e737a009234cbd7cf53748d3d28a2da5221192f.tar.xz
rpc, wallet: Expose database format in getwalletinfo
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r--src/wallet/scriptpubkeyman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h
index 14fb1fa89f..63c10b7a0d 100644
--- a/src/wallet/scriptpubkeyman.h
+++ b/src/wallet/scriptpubkeyman.h
@@ -33,7 +33,7 @@ class WalletStorage
public:
virtual ~WalletStorage() = default;
virtual const std::string GetDisplayName() const = 0;
- virtual WalletDatabase& GetDatabase() = 0;
+ virtual WalletDatabase& GetDatabase() const = 0;
virtual bool IsWalletFlagSet(uint64_t) const = 0;
virtual void UnsetBlankWalletFlag(WalletBatch&) = 0;
virtual bool CanSupportFeature(enum WalletFeature) const = 0;