File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,8 @@ void OptionsModel::Init(bool resetSettings)
224224 // CoinJoin
225225 if (!settings.contains (" nCoinJoinSessions" ))
226226 settings.setValue (" nCoinJoinSessions" , DEFAULT_COINJOIN_SESSIONS);
227+ if (!gArgs .SoftSetArg (" -coinjoinsessions" , settings.value (" nCoinJoinSessions" ).toString ().toStdString ()))
228+ addOverriddenOption (" -coinjoinsessions" );
227229
228230 if (!settings.contains (" nCoinJoinRounds" ))
229231 settings.setValue (" nCoinJoinRounds" , DEFAULT_COINJOIN_ROUNDS);
@@ -247,9 +249,13 @@ void OptionsModel::Init(bool resetSettings)
247249
248250 if (!settings.contains (" nCoinJoinDenomsGoal" ))
249251 settings.setValue (" nCoinJoinDenomsGoal" , DEFAULT_COINJOIN_DENOMS_GOAL);
252+ if (!gArgs .SoftSetArg (" -coinjoindenomsgoal" , settings.value (" nCoinJoinDenomsGoal" ).toString ().toStdString ()))
253+ addOverriddenOption (" -coinjoindenomsgoal" );
250254
251255 if (!settings.contains (" nCoinJoinDenomsHardCap" ))
252256 settings.setValue (" nCoinJoinDenomsHardCap" , DEFAULT_COINJOIN_DENOMS_HARDCAP);
257+ if (!gArgs .SoftSetArg (" -coinjoindenomshardcap" , settings.value (" nCoinJoinDenomsHardCap" ).toString ().toStdString ()))
258+ addOverriddenOption (" -coinjoindenomshardcap" );
253259#endif
254260
255261 // Network
You can’t perform that action at this time.
0 commit comments