| 1083 | } |
| 1084 | |
| 1085 | pub async fn broadcast_start_time_timeout( |
| 1086 | &mut self, |
| 1087 | peg_out_graph_id: &String, |
| 1088 | output_script_pubkey: ScriptBuf, |
| 1089 | ) -> Result<Txid, Error> { |
| 1090 | let graph = Self::find_peg_out_or_fail(&mut self.data, peg_out_graph_id)?; |
| 1091 | let tx = graph |
| 1092 | .start_time_timeout(&self.esplora, output_script_pubkey) |
| 1093 | .await?; |
| 1094 | self.broadcast_tx(&tx).await |
| 1095 | } |
| 1096 | |
| 1097 | pub async fn broadcast_kick_off_2(&mut self, peg_out_graph_id: &String) -> Result<Txid, Error> { |
| 1098 | let graph = Self::find_peg_out_or_fail(&mut self.data, peg_out_graph_id)?; |