(
&mut self,
peg_out_graph_id: &String,
proof: &RawProof,
)
| 1165 | } |
| 1166 | |
| 1167 | pub async fn broadcast_assert_commit_1( |
| 1168 | &mut self, |
| 1169 | peg_out_graph_id: &String, |
| 1170 | proof: &RawProof, |
| 1171 | ) -> Result<Txid, Error> { |
| 1172 | let graph = Self::find_peg_out_or_fail(&mut self.data, peg_out_graph_id)?; |
| 1173 | let tx = graph |
| 1174 | .assert_commit_1( |
| 1175 | &self.esplora, |
| 1176 | &self.private_data.commitment_secrets |
| 1177 | [&self.operator_context.as_ref().unwrap().operator_public_key] |
| 1178 | [peg_out_graph_id], |
| 1179 | proof, |
| 1180 | ) |
| 1181 | .await?; |
| 1182 | self.broadcast_tx(&tx).await |
| 1183 | } |
| 1184 | |
| 1185 | pub async fn broadcast_assert_commit_2( |
| 1186 | &mut self, |
no test coverage detected