aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <[email protected]>2017-01-19 18:19:39 -0500
committerRussell Yanofsky <[email protected]>2017-01-25 12:51:06 -0500
commitc4e4792c537bae6228fc3438dd971634985922f4 (patch)
tree13ed02f29b20fddf8e533847f3d2d4d53193273d /src/qt/walletmodel.cpp
parent[Qt] Add simple optin-RBF checkbox and confirmation info (diff)
downloaddiscoin-c4e4792c537bae6228fc3438dd971634985922f4.tar.xz
discoin-c4e4792c537bae6228fc3438dd971634985922f4.zip
[Qt] Change RBF checkbox to reflect -walletrbf setting
Before this commit, the checkbox would always start off unchecked. After this commit it will respect the -walletrbf setting (which is currently false by default).
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r--src/qt/walletmodel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index 0a5a7c3e9..8004e9b25 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -706,3 +706,8 @@ int WalletModel::getDefaultConfirmTarget() const
{
return nTxConfirmTarget;
}
+
+bool WalletModel::getDefaultWalletRbf() const
+{
+ return fWalletRbf;
+}