(
&mut self,
context: &VerifierContext,
connector_b: &ConnectorB,
secret_nonce: &SecNonce,
)
| 135 | } |
| 136 | |
| 137 | fn sign_input_0( |
| 138 | &mut self, |
| 139 | context: &VerifierContext, |
| 140 | connector_b: &ConnectorB, |
| 141 | secret_nonce: &SecNonce, |
| 142 | ) { |
| 143 | let input_index = 0; |
| 144 | pre_sign_musig2_taproot_input( |
| 145 | self, |
| 146 | context, |
| 147 | input_index, |
| 148 | TapSighashType::All, |
| 149 | secret_nonce, |
| 150 | ); |
| 151 | |
| 152 | // TODO: Consider verifying the final signature against the n-of-n public key and the tx. |
| 153 | if self.musig2_signatures[&input_index].len() == context.n_of_n_public_keys.len() { |
| 154 | self.finalize_input_0(context, connector_b); |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | fn finalize_input_0(&mut self, context: &dyn BaseContext, connector_b: &ConnectorB) { |
| 159 | let input_index = 0; |
no test coverage detected