mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
[Qt] Hide nTxConfirmTarget behind WalletModel
This commit is contained in:
@@ -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