aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/wallet.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-02-01 13:54:28 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2018-07-12 20:32:07 +0100
commitc7b8f343e99d9d53ea353ddce9a977f1886caf30 (patch)
tree91d1f8eadc33cd093c721d1c1be41f502e10c16b /src/interfaces/wallet.cpp
parent2f15c2bc20d583b4c1788da78c9c635c36e03ed0 (diff)
downloadbitcoin-c7b8f343e99d9d53ea353ddce9a977f1886caf30.tar.xz
[Qt] Disable creating receive addresses when private keys are disabled
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 aade4b2df3..2c450676c9 100644
--- a/src/interfaces/wallet.cpp
+++ b/src/interfaces/wallet.cpp
@@ -426,6 +426,7 @@ public:
}
unsigned int getConfirmTarget() override { return m_wallet.m_confirm_target; }
bool hdEnabled() override { return m_wallet.IsHDEnabled(); }
+ bool IsWalletFlagSet(uint64_t flag) override { return m_wallet.IsWalletFlagSet(flag); }
OutputType getDefaultAddressType() override { return m_wallet.m_default_address_type; }
OutputType getDefaultChangeType() override { return m_wallet.m_default_change_type; }
std::unique_ptr<Handler> handleUnload(UnloadFn fn) override