Browse Source

Merge pull request #1517 from Diapolo/fix_comment

fix a comment to correctly use -upgradewallet
0.8
Pieter Wuille 13 years ago
parent
commit
6cef700203
  1. 2
      src/init.cpp

2
src/init.cpp

@ -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…
Cancel
Save