Browse Source

Merge pull request #1893 from kjj2/issue1884

Issue 1884: Add a backup warning to the encryptwallet RPC command
miguelfreitas
Gavin Andresen 12 years ago
parent
commit
da6e9fe634
  1. 2
      src/rpcwallet.cpp

2
src/rpcwallet.cpp

@ -1396,7 +1396,7 @@ Value encryptwallet(const Array& params, bool fHelp)
// slack space in .dat files; that is bad if the old data is // slack space in .dat files; that is bad if the old data is
// unencrypted private keys. So: // unencrypted private keys. So:
StartShutdown(); 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> class DescribeAddressVisitor : public boost::static_visitor<Object>

Loading…
Cancel
Save