aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsmodel.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-05-05 20:54:00 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-05-05 20:54:00 +0200
commit3e1cf9b6f68bac2456258ea7b12f2342c760a223 (patch)
tree409906225a7e32b7cda098ba62859fa5b8ceeb2f /src/qt/optionsmodel.cpp
parentd4ffe4e425b5a3f6fe4ff0ce7297608dfe6c7417 (diff)
downloadbitcoin-3e1cf9b6f68bac2456258ea7b12f2342c760a223.tar.xz
add DEFAULT_TRANSACTION_FEE constant in wallet
- as this is a shared Core/GUI setting, this makes it easier to keep them in sync (also no new includes are needed)
Diffstat (limited to 'src/qt/optionsmodel.cpp')
-rw-r--r--src/qt/optionsmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/optionsmodel.cpp b/src/qt/optionsmodel.cpp
index 74c6b10ce2..d024af73c8 100644
--- a/src/qt/optionsmodel.cpp
+++ b/src/qt/optionsmodel.cpp
@@ -93,7 +93,7 @@ void OptionsModel::Init()
// Wallet
#ifdef ENABLE_WALLET
if (!settings.contains("nTransactionFee"))
- settings.setValue("nTransactionFee", 0);
+ settings.setValue("nTransactionFee", DEFAULT_TRANSACTION_FEE);
nTransactionFee = settings.value("nTransactionFee").toLongLong(); // if -paytxfee is set, this will be overridden later in init.cpp
if (mapArgs.count("-paytxfee"))
addOverriddenOption("-paytxfee");