Merge pull request #1893 from kjj2/issue1884

Issue 1884: Add a backup warning to the encryptwallet RPC command
This commit is contained in:
Gavin Andresen 2012-10-01 13:40:48 -07:00
commit da6e9fe634

View File

@ -1396,7 +1396,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:
StartShutdown();
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.";
}
class DescribeAddressVisitor : public boost::static_visitor<Object>