(&self, client: &AsyncClient)
| 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, |
nothing calls this directly
no test coverage detected