Skip to content

Commit 6f02899

Browse files
committed
[Qt] Hide nTxConfirmTarget behind WalletModel
1 parent 004168d commit 6f02899

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/qt/walletmodel.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,3 +698,8 @@ bool WalletModel::hdEnabled() const
698698
{
699699
return wallet->IsHDEnabled();
700700
}
701+
702+
int WalletModel::getDefaultConfirmTarget() const
703+
{
704+
return nTxConfirmTarget;
705+
}

src/qt/walletmodel.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ class WalletModel : public QObject
207207

208208
bool hdEnabled() const;
209209

210+
int getDefaultConfirmTarget() const;
211+
210212
private:
211213
CWallet *wallet;
212214
bool fHaveWatchOnly;

0 commit comments

Comments
 (0)