aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.h
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/qt/walletmodel.h
parent2f15c2bc20d583b4c1788da78c9c635c36e03ed0 (diff)
[Qt] Disable creating receive addresses when private keys are disabled
Diffstat (limited to 'src/qt/walletmodel.h')
-rw-r--r--src/qt/walletmodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h
index 35ededb121..d8935c2fa8 100644
--- a/src/qt/walletmodel.h
+++ b/src/qt/walletmodel.h
@@ -197,6 +197,7 @@ public:
bool bumpFee(uint256 hash);
static bool isWalletEnabled();
+ bool privateKeysDisabled() const;
interfaces::Node& node() const { return m_node; }
interfaces::Wallet& wallet() const { return *m_wallet; }