| 151 | return ret; |
| 152 | } |
| 153 | bool ToPrivateString(const SigningProvider& arg, std::string& out) const override |
| 154 | { |
| 155 | CExtKey key; |
| 156 | if (!GetExtKey(arg, key)) return false; |
| 157 | out = EncodeExtKey(key) + FormatKeyPath(m_path); |
| 158 | if (IsRange()) { |
| 159 | out += "/*"; |
| 160 | if (m_derive == DeriveType::HARDENED) out += '\''; |
| 161 | } |
| 162 | return true; |
| 163 | } |
| 164 | }; |
| 165 | |
| 166 | /** A parsed addr(A) descriptor. */ |
nothing calls this directly
no test coverage detected