diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2011-07-13 08:55:49 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2011-07-13 08:55:49 -0700 |
commit | 9cd22ab86296ae7039132423c7f9847bdc19a644 (patch) | |
tree | fa4b9052a436d83851ae86be3a614fa79f45cb90 /src/wallet.cpp | |
parent | b8cbbc2c28679295a5cfb7ac553ee81dd950fbf5 (diff) | |
parent | 84c3c2ebe76dcf70f65397758840a9d6b1a0605a (diff) |
Merge pull request #406 from muggenhor/warning-fixes
Warning fixes
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r-- | src/wallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index 6869790472..f275853528 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -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) |