(
&mut self,
context: &VerifierContext,
connector_1: &Connector1,
secret_nonce: &SecNonce,
)
| 176 | } |
| 177 | |
| 178 | fn sign_input_1( |
| 179 | &mut self, |
| 180 | context: &VerifierContext, |
| 181 | connector_1: &Connector1, |
| 182 | secret_nonce: &SecNonce, |
| 183 | ) { |
| 184 | let input_index = 1; |
| 185 | pre_sign_musig2_taproot_input( |
| 186 | self, |
| 187 | context, |
| 188 | input_index, |
| 189 | TapSighashType::None, |
| 190 | secret_nonce, |
| 191 | ); |
| 192 | |
| 193 | // TODO: Consider verifying the final signature against the n-of-n public key and the tx. |
| 194 | if self.musig2_signatures[&input_index].len() == context.n_of_n_public_keys.len() { |
| 195 | self.finalize_input_1(context, connector_1); |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | fn finalize_input_1(&mut self, context: &dyn BaseContext, connector_1: &Connector1) { |
| 200 | let input_index = 1; |
no test coverage detected