| 651 | } |
| 652 | |
| 653 | bool LegacyScriptPubKeyMan::AddKeyPubKey(const CKey &secret, |
| 654 | const CPubKey &pubkey) { |
| 655 | LOCK(cs_KeyStore); |
| 656 | WalletBatch batch(m_storage.GetDatabase()); |
| 657 | return LegacyScriptPubKeyMan::AddKeyPubKeyWithDB(batch, secret, pubkey); |
| 658 | } |
| 659 | |
| 660 | bool LegacyScriptPubKeyMan::AddKeyPubKeyWithDB(WalletBatch &batch, |
| 661 | const CKey &secret, |
no outgoing calls