diff options
| author | Jeff Garzik <[email protected]> | 2011-07-13 08:55:49 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2011-07-13 08:55:49 -0700 |
| commit | 9cd22ab86296ae7039132423c7f9847bdc19a644 (patch) | |
| tree | fa4b9052a436d83851ae86be3a614fa79f45cb90 /src/wallet.cpp | |
| parent | Merge pull request #405 from sipa/syncdefault (diff) | |
| parent | fix warning: control reaches end of non-void function [-Wreturn-type] (diff) | |
| download | discoin-9cd22ab86296ae7039132423c7f9847bdc19a644.tar.xz discoin-9cd22ab86296ae7039132423c7f9847bdc19a644.zip | |
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 686979047..f27585352 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) |