NOLINTNEXTLINE(misc-no-recursion)
| 883 | |
| 884 | // NOLINTNEXTLINE(misc-no-recursion) |
| 885 | bool HavePrivateKeys(const SigningProvider& arg) const override |
| 886 | { |
| 887 | if (m_pubkey_args.empty() && m_subdescriptor_args.empty()) return false; |
| 888 | |
| 889 | for (const auto& sub: m_subdescriptor_args) { |
| 890 | if (!sub->HavePrivateKeys(arg)) return false; |
| 891 | } |
| 892 | |
| 893 | FlatSigningProvider tmp_provider; |
| 894 | for (const auto& pubkey : m_pubkey_args) { |
| 895 | tmp_provider.keys.clear(); |
| 896 | pubkey->GetPrivKey(0, arg, tmp_provider); |
| 897 | if (tmp_provider.keys.empty()) return false; |
| 898 | } |
| 899 | |
| 900 | return true; |
| 901 | } |
| 902 | |
| 903 | // NOLINTNEXTLINE(misc-no-recursion) |
| 904 | bool IsRange() const final |
nothing calls this directly
no test coverage detected