diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp index c6bc5f8f1d..2b662d7afe 100644 --- a/src/script/descriptor.cpp +++ b/src/script/descriptor.cpp @@ -783,6 +783,7 @@ class PKDescriptor final : public DescriptorImpl } public: PKDescriptor(std::unique_ptr prov, bool xonly = false) : DescriptorImpl(Vector(std::move(prov)), "pk"), m_xonly(xonly) {} + std::optional GetOutputType() const override { return OutputType::LEGACY; } bool IsSingleType() const final { return true; } std::optional ScriptSize() const override { diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index c969ce45f1..2658c2a773 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -12,8 +12,6 @@ #include