(&mut self, client: &AsyncClient)
| 449 | } |
| 450 | |
| 451 | pub async fn deposit(&mut self, client: &AsyncClient) -> Result<Transaction, Error> { |
| 452 | let txid = self.peg_in_deposit_transaction.tx().compute_txid(); |
| 453 | verify_if_not_mined(client, txid).await?; |
| 454 | Ok(self.peg_in_deposit_transaction.finalize()) |
| 455 | } |
| 456 | |
| 457 | pub async fn confirm(&mut self, client: &AsyncClient) -> Result<Transaction, Error> { |
| 458 | let txid = self.peg_in_confirm_transaction.tx().compute_txid(); |