| 3417 | } |
| 3418 | |
| 3419 | ScriptPubKeyMan* CWallet::GetScriptPubKeyMan(const OutputType& type, bool internal) const |
| 3420 | { |
| 3421 | const std::map<OutputType, ScriptPubKeyMan*>& spk_managers = internal ? m_internal_spk_managers : m_external_spk_managers; |
| 3422 | std::map<OutputType, ScriptPubKeyMan*>::const_iterator it = spk_managers.find(type); |
| 3423 | if (it == spk_managers.end()) { |
| 3424 | return nullptr; |
| 3425 | } |
| 3426 | return it->second; |
| 3427 | } |
| 3428 | |
| 3429 | std::set<ScriptPubKeyMan*> CWallet::GetScriptPubKeyMans(const CScript& script) const |
| 3430 | { |
no test coverage detected