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