Browse Source

fix warning: control reaches end of non-void function [-Wreturn-type]

Signed-off-by: Giel van Schijndel <me@mortis.eu>
miguelfreitas
Giel van Schijndel 14 years ago
parent
commit
84c3c2ebe7
  1. 1
      src/wallet.cpp

1
src/wallet.cpp

@ -23,6 +23,7 @@ bool CWallet::AddKey(const CKey& key) @@ -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)

Loading…
Cancel
Save