| 755 | return any_privkeys; |
| 756 | } |
| 757 | bool ToNormalizedString(const SigningProvider& arg, std::string& out, const DescriptorCache* cache = nullptr) const override |
| 758 | { |
| 759 | out = "musig("; |
| 760 | for (size_t i = 0; i < m_participants.size(); ++i) { |
| 761 | const auto& pubkey = m_participants.at(i); |
| 762 | if (i) out += ","; |
| 763 | std::string tmp; |
| 764 | if (!pubkey->ToNormalizedString(arg, tmp, cache)) { |
| 765 | return false; |
| 766 | } |
| 767 | out += tmp; |
| 768 | } |
| 769 | out += ")"; |
| 770 | out += FormatHDKeypath(m_path); |
| 771 | if (IsRangedDerivation()) { |
| 772 | out += "/*"; |
| 773 | } |
| 774 | return true; |
| 775 | } |
| 776 | |
| 777 | void GetPrivKey(int pos, const SigningProvider& arg, FlatSigningProvider& out) const override |
| 778 | { |
nothing calls this directly
no test coverage detected