| 1539 | } |
| 1540 | |
| 1541 | bool LegacyScriptPubKeyMan::AddCScriptWithDB(WalletBatch& batch, const CScript& redeemScript) |
| 1542 | { |
| 1543 | if (!FillableSigningProvider::AddCScript(redeemScript)) |
| 1544 | return false; |
| 1545 | if (batch.WriteCScript(Hash160(redeemScript), redeemScript)) { |
| 1546 | m_storage.UnsetBlankWalletFlag(batch); |
| 1547 | return true; |
| 1548 | } |
| 1549 | return false; |
| 1550 | } |
| 1551 | |
| 1552 | bool LegacyScriptPubKeyMan::AddKeyOriginWithDB(WalletBatch& batch, const CPubKey& pubkey, const KeyOriginInfo& info) |
| 1553 | { |
nothing calls this directly
no test coverage detected