File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,16 @@ std::string GetWalletHelpString(bool showDebug)
53
53
54
54
bool WalletParameterInteraction ()
55
55
{
56
- gArgs .SoftSetArg (" -wallet" , DEFAULT_WALLET_DAT);
57
- const bool is_multiwallet = gArgs .GetArgs (" -wallet" ).size () > 1 ;
56
+ if (gArgs .GetBoolArg (" -disablewallet" , DEFAULT_DISABLE_WALLET)) {
57
+ for (const std::string& wallet : gArgs .GetArgs (" -wallet" )) {
58
+ LogPrintf (" %s: parameter interaction: -disablewallet -> ignoring -wallet=%s\n " , __func__, wallet);
59
+ }
58
60
59
- if (gArgs .GetBoolArg (" -disablewallet" , DEFAULT_DISABLE_WALLET))
60
61
return true ;
62
+ }
63
+
64
+ gArgs .SoftSetArg (" -wallet" , DEFAULT_WALLET_DAT);
65
+ const bool is_multiwallet = gArgs .GetArgs (" -wallet" ).size () > 1 ;
61
66
62
67
if (gArgs .GetBoolArg (" -blocksonly" , DEFAULT_BLOCKSONLY) && gArgs .SoftSetBoolArg (" -walletbroadcast" , false )) {
63
68
LogPrintf (" %s: parameter interaction: -blocksonly=1 -> setting -walletbroadcast=0\n " , __func__);
You can’t perform that action at this time.
0 commit comments