mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Merge pull request #3613 from cozz/cozz1
[Qt] Fix nTransactionFee in qt-settings
This commit is contained in:
commit
f30fbbfbd6
@ -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…
x
Reference in New Issue
Block a user