(
&mut self,
peg_out_graph_id: &String,
output_script_pubkey: ScriptBuf,
)
| 1112 | } |
| 1113 | |
| 1114 | pub async fn broadcast_kick_off_timeout( |
| 1115 | &mut self, |
| 1116 | peg_out_graph_id: &String, |
| 1117 | output_script_pubkey: ScriptBuf, |
| 1118 | ) -> Result<Txid, Error> { |
| 1119 | let graph = Self::find_peg_out_or_fail(&mut self.data, peg_out_graph_id)?; |
| 1120 | let tx = graph |
| 1121 | .kick_off_timeout(&self.esplora, output_script_pubkey) |
| 1122 | .await?; |
| 1123 | self.broadcast_tx(&tx).await |
| 1124 | } |
| 1125 | |
| 1126 | pub async fn broadcast_challenge( |
| 1127 | &mut self, |