(
&mut self,
context: &VerifierContext,
connector_5: &Connector5,
secret_nonce: &SecNonce,
)
| 223 | } |
| 224 | |
| 225 | fn sign_input_2( |
| 226 | &mut self, |
| 227 | context: &VerifierContext, |
| 228 | connector_5: &Connector5, |
| 229 | secret_nonce: &SecNonce, |
| 230 | ) { |
| 231 | let input_index = 2; |
| 232 | pre_sign_musig2_taproot_input( |
| 233 | self, |
| 234 | context, |
| 235 | input_index, |
| 236 | TapSighashType::All, |
| 237 | secret_nonce, |
| 238 | ); |
| 239 | |
| 240 | // TODO: Consider verifying the final signature against the n-of-n public key and the tx. |
| 241 | if self.musig2_signatures[&input_index].len() == context.n_of_n_public_keys.len() { |
| 242 | self.finalize_input_2(context, connector_5); |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | fn finalize_input_2(&mut self, context: &dyn BaseContext, connector_5: &Connector5) { |
| 247 | let input_index = 2; |
no test coverage detected