Merge pull request #406 from muggenhor/warning-fixes

Warning fixes
This commit is contained in:
Jeff Garzik
2011-07-13 08:55:49 -07:00
2 changed files with 3 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ bool CWallet::AddKey(const CKey& key)
return true;
if (!IsCrypted())
return CWalletDB(strWalletFile).WriteKey(key.GetPubKey(), key.GetPrivKey());
return true;
}
bool CWallet::AddCryptedKey(const vector<unsigned char> &vchPubKey, const vector<unsigned char> &vchCryptedSecret)