mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
commit
9cd22ab862
2 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue