[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();
|
return wallet->IsHDEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int WalletModel::getDefaultConfirmTarget() const
|
||||||
|
{
|
||||||
|
return nTxConfirmTarget;
|
||||||
|
}
|
||||||
@@ -207,6 +207,8 @@ public:
|
|||||||
|
|
||||||
bool hdEnabled() const;
|
bool hdEnabled() const;
|
||||||
|
|
||||||
|
int getDefaultConfirmTarget() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
CWallet *wallet;
|
CWallet *wallet;
|
||||||
bool fHaveWatchOnly;
|
bool fHaveWatchOnly;
|
||||||
|
|||||||
Reference in new issue
Block a user