[Qt] Hide nTxConfirmTarget behind WalletModel
This commit is contained in:
2 files changed
+7
No files matched your search
@@ -698,3 +698,8 @@ bool WalletModel::hdEnabled() const
|
||||
{
|
||||
return wallet->IsHDEnabled();
|
||||
}
|
||||
|
||||
int WalletModel::getDefaultConfirmTarget() const
|
||||
{
|
||||
return nTxConfirmTarget;
|
||||
}
|
||||
@@ -207,6 +207,8 @@ public:
|
||||
|
||||
bool hdEnabled() const;
|
||||
|
||||
int getDefaultConfirmTarget() const;
|
||||
|
||||
private:
|
||||
CWallet *wallet;
|
||||
bool fHaveWatchOnly;
|
||||
|
||||
Reference in new issue
Block a user