| 1226 | { |
| 1227 | protected: |
| 1228 | std::vector<CScript> MakeScripts(const std::vector<CPubKey>& keys, std::span<const CScript>, FlatSigningProvider&) const override |
| 1229 | { |
| 1230 | CKeyID id = keys[0].GetID(); |
| 1231 | return Vector(GetScriptForDestination(PKHash(id))); |
| 1232 | } |
| 1233 | public: |
| 1234 | PKHDescriptor(std::unique_ptr<PubkeyProvider> prov) : DescriptorImpl(Vector(std::move(prov)), "pkh") {} |
| 1235 | std::optional<OutputType> GetOutputType() const override { return OutputType::LEGACY; } |
nothing calls this directly
no test coverage detected