git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge pull request #406 from muggenhor/warning-fixes
[novacoin.git]
/
src
/
wallet.cpp
diff --git
a/src/wallet.cpp
b/src/wallet.cpp
index
6869790
..
f275853
100644
(file)
--- 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)