| 1411 | { |
| 1412 | protected: |
| 1413 | std::vector<CScript> MakeScripts(const std::vector<CPubKey>&, std::span<const CScript> scripts, FlatSigningProvider& out) const override |
| 1414 | { |
| 1415 | auto ret = Vector(GetScriptForDestination(ScriptHash(scripts[0]))); |
| 1416 | if (ret.size()) out.scripts.emplace(CScriptID(scripts[0]), scripts[0]); |
| 1417 | return ret; |
| 1418 | } |
| 1419 | |
| 1420 | bool IsSegwit() const { return m_subdescriptor_args[0]->GetOutputType() == OutputType::BECH32; } |
| 1421 |
nothing calls this directly
no test coverage detected