| 654 | } |
| 655 | |
| 656 | void ExpandPrivate(int pos, const SigningProvider& provider, FlatSigningProvider& out) const final |
| 657 | { |
| 658 | for (const auto& p : m_pubkey_args) { |
| 659 | CKey key; |
| 660 | if (!p->GetPrivKey(pos, provider, key)) continue; |
| 661 | out.keys.emplace(key.GetPubKey().GetID(), key); |
| 662 | } |
| 663 | for (const auto& arg : m_subdescriptor_args) { |
| 664 | arg->ExpandPrivate(pos, provider, out); |
| 665 | } |
| 666 | } |
| 667 | |
| 668 | std::optional<OutputType> GetOutputType() const override { return std::nullopt; } |
| 669 | }; |
no test coverage detected