mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 03:03:22 -03:00
fix a comment to correctly use -upgradewallet
This commit is contained in:
parent
d887f54494
commit
a8c20ea946
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@ bool AppInit2()
|
||||||
if (GetBoolArg("-upgradewallet", fFirstRun))
|
if (GetBoolArg("-upgradewallet", fFirstRun))
|
||||||
{
|
{
|
||||||
int nMaxVersion = GetArg("-upgradewallet", 0);
|
int nMaxVersion = GetArg("-upgradewallet", 0);
|
||||||
if (nMaxVersion == 0) // the -walletupgrade without argument case
|
if (nMaxVersion == 0) // the -upgradewallet without argument case
|
||||||
{
|
{
|
||||||
printf("Performing wallet upgrade to %i\n", FEATURE_LATEST);
|
printf("Performing wallet upgrade to %i\n", FEATURE_LATEST);
|
||||||
nMaxVersion = CLIENT_VERSION;
|
nMaxVersion = CLIENT_VERSION;
|
||||||
|
|
Loading…
Add table
Reference in a new issue