Skip to content

Commit

Permalink
[Qt] Hide nTxConfirmTarget behind WalletModel
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasschnelli committed Oct 28, 2016
1 parent 004168d commit 6f02899
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/qt/walletmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,3 +698,8 @@ bool WalletModel::hdEnabled() const
{
return wallet->IsHDEnabled();
}

int WalletModel::getDefaultConfirmTarget() const
{
return nTxConfirmTarget;
}
2 changes: 2 additions & 0 deletions src/qt/walletmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ class WalletModel : public QObject

bool hdEnabled() const;

int getDefaultConfirmTarget() const;

private:
CWallet *wallet;
bool fHaveWatchOnly;
Expand Down

0 comments on commit 6f02899

Please sign in to comment.