[Qt] Hide nTxConfirmTarget behind WalletModel

This commit is contained in:
Jonas Schnelli 2016-10-21 10:24:03 +02:00
parent 004168dcb7
commit 6f0289967f
No known key found for this signature in database
GPG key ID: 29D4BCB6416F53EC
2 changed files with 7 additions and 0 deletions

View file

@ -698,3 +698,8 @@ bool WalletModel::hdEnabled() const
{
return wallet->IsHDEnabled();
}
int WalletModel::getDefaultConfirmTarget() const
{
return nTxConfirmTarget;
}

View file

@ -207,6 +207,8 @@ public:
bool hdEnabled() const;
int getDefaultConfirmTarget() const;
private:
CWallet *wallet;
bool fHaveWatchOnly;