Skip to content

Commit

Permalink
wallet: Fix privatesendrounds -> coinjoinrounds migration
Browse files Browse the repository at this point in the history
  • Loading branch information
xdustinface committed Mar 11, 2021
1 parent 41e0a7c commit e013f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ bool WalletInit::ParameterInteraction() const

// for PrivateSend -> CoinJoin migration
if (gArgs.IsArgSet("-privatesendrounds")) {
int nRoundsDeprecated = gArgs.GetArg("-coinjoinrounds", DEFAULT_COINJOIN_ROUNDS);
int nRoundsDeprecated = gArgs.GetArg("-privatesendrounds", DEFAULT_COINJOIN_ROUNDS);
InitWarning("Warning: -privatesendrounds is deprecated, please use -coinjoinrounds.\n");
if (gArgs.SoftSetArg("-coinjoinrounds", itostr(nRoundsDeprecated))) {
LogPrintf("%s: parameter interaction: -privatesendrounds=%d -> setting -coinjoinrounds=%d\n", __func__, nRoundsDeprecated, nRoundsDeprecated);
Expand Down

0 comments on commit e013f9c

Please sign in to comment.