Browse Source

[Qt] Fix nTransactionFee in qt-settings

0.10
Cozz Lovan 11 years ago
parent
commit
eb0d9ecb6e
  1. 3
      src/qt/optionsmodel.cpp

3
src/qt/optionsmodel.cpp

@ -73,6 +73,9 @@ void OptionsModel::Init()
#ifdef ENABLE_WALLET #ifdef ENABLE_WALLET
if (!settings.contains("nTransactionFee")) if (!settings.contains("nTransactionFee"))
settings.setValue("nTransactionFee", 0); settings.setValue("nTransactionFee", 0);
nTransactionFee = settings.value("nTransactionFee").toLongLong(); // if -paytxfee is set, this will be overridden later in init.cpp
if (mapArgs.count("-paytxfee"))
strOverriddenByCommandLine += "-paytxfee ";
#endif #endif
if (!settings.contains("nDatabaseCache")) if (!settings.contains("nDatabaseCache"))

Loading…
Cancel
Save