MCPcopy Create free account
hub / github.com/BitVM/BitVM / sign_input_1

Method sign_input_1

bridge/src/transactions/take_1.rs:216–225  ·  view source on GitHub ↗
(&mut self, context: &OperatorContext, connector_a: &ConnectorA)

Source from the content-addressed store, hash-verified

214 }
215
216 fn sign_input_1(&mut self, context: &OperatorContext, connector_a: &ConnectorA) {
217 let input_index = 1;
218 pre_sign_taproot_input_default(
219 self,
220 input_index,
221 TapSighashType::All,
222 connector_a.generate_taproot_spend_info(),
223 &vec![&context.operator_keypair],
224 );
225 }
226
227 fn sign_input_2(&mut self, context: &OperatorContext) {
228 let input_index = 2;

Callers 1

newMethod · 0.45

Tested by

no test coverage detected