(
&mut self,
context: &VerifierContext,
connector_5: &Connector5,
secret_nonce: &SecNonce,
)
| 145 | } |
| 146 | |
| 147 | fn sign_input_0( |
| 148 | &mut self, |
| 149 | context: &VerifierContext, |
| 150 | connector_5: &Connector5, |
| 151 | secret_nonce: &SecNonce, |
| 152 | ) { |
| 153 | let input_index = 0; |
| 154 | pre_sign_musig2_taproot_input( |
| 155 | self, |
| 156 | context, |
| 157 | input_index, |
| 158 | TapSighashType::Single, |
| 159 | secret_nonce, |
| 160 | ); |
| 161 | |
| 162 | // TODO: Consider verifying the final signature against the n-of-n public key and the tx. |
| 163 | if self.musig2_signatures[&input_index].len() == context.n_of_n_public_keys.len() { |
| 164 | self.finalize_input_0(context, connector_5); |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | fn finalize_input_0(&mut self, context: &dyn BaseContext, connector_5: &Connector5) { |
| 169 | let input_index = 0; |
no test coverage detected