aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/wallet.cpp
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2019-08-14 14:25:53 -0400
committerAndrew Chow <[email protected]>2020-04-23 13:59:48 -0400
commitce24a944940019185efebcc5d85eac458ed26016 (patch)
tree82772b6c25fcecd552f51703f4a68326ff7326d5 /src/interfaces/wallet.cpp
parentGenerate new descriptors when encrypting (diff)
downloaddiscoin-ce24a944940019185efebcc5d85eac458ed26016.tar.xz
discoin-ce24a944940019185efebcc5d85eac458ed26016.zip
Add IsLegacy to CWallet so that the GUI knows whether to show watchonly
Diffstat (limited to 'src/interfaces/wallet.cpp')
-rw-r--r--src/interfaces/wallet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/wallet.cpp b/src/interfaces/wallet.cpp
index 942952d9c..152917ac6 100644
--- a/src/interfaces/wallet.cpp
+++ b/src/interfaces/wallet.cpp
@@ -464,6 +464,7 @@ public:
{
RemoveWallet(m_wallet);
}
+ bool isLegacy() override { return m_wallet->IsLegacy(); }
std::unique_ptr<Handler> handleUnload(UnloadFn fn) override
{
return MakeHandler(m_wallet->NotifyUnload.connect(fn));