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

Method sign_commit_inputs

bridge/src/transactions/assert_transactions/assert_final.rs:217–227  ·  view source on GitHub ↗
(&mut self, context: &OperatorContext)

Source from the content-addressed store, hash-verified

215 }
216
217 fn sign_commit_inputs(&mut self, context: &OperatorContext) {
218 let input_indexes = [1, 2];
219 for input_index in input_indexes {
220 pre_sign_p2wsh_input(
221 self,
222 input_index,
223 EcdsaSighashType::All,
224 &vec![&context.operator_keypair],
225 );
226 }
227 }
228
229 fn finalize_input_0(&mut self, context: &dyn BaseContext, connector_d: &ConnectorD) {
230 let input_index = 0;

Callers 1

newMethod · 0.80

Calls 1

pre_sign_p2wsh_inputFunction · 0.85

Tested by

no test coverage detected