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

Method withdrawer_status

bridge/src/graphs/peg_out.rs:1391–1406  ·  view source on GitHub ↗
(&self, client: &AsyncClient)

Source from the content-addressed store, hash-verified

1389 }
1390
1391 pub async fn withdrawer_status(&self, client: &AsyncClient) -> PegOutWithdrawerStatus {
1392 let peg_out_status = match self.peg_out_transaction {
1393 Some(_) => {
1394 let peg_out_txid = self
1395 .peg_out_transaction
1396 .as_ref()
1397 .unwrap()
1398 .tx()
1399 .compute_txid();
1400 let peg_out_status = client.get_tx_status(&peg_out_txid).await;
1401 Some(peg_out_status)
1402 }
1403 None => None,
1404 };
1405 self.interpret_withdrawer_status(peg_out_status.as_ref())
1406 }
1407
1408 pub async fn peg_out(
1409 &mut self,

Callers

nothing calls this directly

Calls 3

as_refMethod · 0.80
txMethod · 0.45

Tested by

no test coverage detected