Add a backup warning to the encryptwallet RPC command

This commit is contained in:
kjj2
2012-09-30 08:50:59 -05:00
committed by Luke Dashjr
parent a53b07313f
commit bced903ae5

View File

@@ -1479,7 +1479,7 @@ Value encryptwallet(const Array& params, bool fHelp)
// slack space in .dat files; that is bad if the old data is
// unencrypted private keys. So:
CreateThread(Shutdown, NULL);
return "wallet encrypted; bitcoin server stopping, restart to run with encrypted wallet";
return "wallet encrypted; bitcoin server stopping, restart to run with encrypted wallet. The keypool has been flushed, you need to make a new backup.";
}