| 799 | } |
| 800 | |
| 801 | std::unique_ptr<PubkeyProvider> Clone() const override |
| 802 | { |
| 803 | std::vector<std::unique_ptr<PubkeyProvider>> providers; |
| 804 | providers.reserve(m_participants.size()); |
| 805 | for (const std::unique_ptr<PubkeyProvider>& p : m_participants) { |
| 806 | providers.emplace_back(p->Clone()); |
| 807 | } |
| 808 | return std::make_unique<MuSigPubkeyProvider>(m_expr_index, std::move(providers), m_path, m_derive); |
| 809 | } |
| 810 | bool IsBIP32() const override |
| 811 | { |
| 812 | // musig() can only be a BIP 32 key if all participants are bip32 too |
nothing calls this directly
no test coverage detected