aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.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/wallet.h
parentc4a29d0a90b821c443c10891d9326c534d15cf97 (diff)
downloadbitcoin-5e737a009234cbd7cf53748d3d28a2da5221192f.tar.xz
rpc, wallet: Expose database format in getwalletinfo
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 245144a1c9..74de55dcb5 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -739,7 +739,7 @@ public:
{
return *database;
}
- WalletDatabase& GetDatabase() override { return *database; }
+ WalletDatabase& GetDatabase() const override { return *database; }
/**
* Select a set of coins such that nValueRet >= nTargetValue and at least