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

Method handle_push_signature_command

bridge/src/client/cli/client_command.rs:327–338  ·  view source on GitHub ↗
(
        &mut self,
        sub_matches: &ArgMatches,
    )

Source from the content-addressed store, hash-verified

325 }
326
327 pub async fn handle_push_signature_command(
328 &mut self,
329 sub_matches: &ArgMatches,
330 ) -> io::Result<()> {
331 let graph_id = sub_matches.get_one::<String>("id").unwrap();
332
333 self.client.sync().await;
334 self.client.push_verifier_signature(graph_id);
335 self.client.flush().await;
336
337 Ok(())
338 }
339
340 pub fn get_mock_l2_pegout_event_command() -> Command {
341 Command::new("mock-l2-pegout-event")

Callers 2

mainFunction · 0.80

Calls 3

syncMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected