mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 12:52:35 -03:00
[Qt] Hide nTxConfirmTarget behind WalletModel
This commit is contained in:
parent
004168dcb7
commit
6f0289967f
2 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue