aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorGiel van Schijndel <me@mortis.eu>2011-07-13 13:43:50 +0200
committerGiel van Schijndel <me@mortis.eu>2011-07-13 14:25:45 +0200
commit84c3c2ebe76dcf70f65397758840a9d6b1a0605a (patch)
tree6c8848a312fa2584b8e2b33f2bd7677f5193c855 /src/wallet.cpp
parent93752b8a3934468942d235b3920162c36384b45a (diff)
fix warning: control reaches end of non-void function [-Wreturn-type]
Signed-off-by: Giel van Schijndel <me@mortis.eu>
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index a60b0b4fa5..68283c9e80 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)