(&self)
| 657 | } |
| 658 | |
| 659 | async fn depositor_status(&self) { |
| 660 | if self.depositor_context.is_none() { |
| 661 | panic!("Depositor context must be initialized"); |
| 662 | } |
| 663 | |
| 664 | let depositor_public_key = &self |
| 665 | .depositor_context |
| 666 | .as_ref() |
| 667 | .unwrap() |
| 668 | .depositor_public_key; |
| 669 | for peg_in_graph in self.data.peg_in_graphs.iter() { |
| 670 | if peg_in_graph.depositor_public_key.eq(depositor_public_key) { |
| 671 | let status = peg_in_graph.depositor_status(&self.esplora).await; |
| 672 | println!( |
| 673 | "[DEPOSITOR]: Peg-in graph ID: {} status: {}\n", |
| 674 | peg_in_graph.id(), |
| 675 | status |
| 676 | ); |
| 677 | } |
| 678 | } |
| 679 | } |
| 680 | |
| 681 | async fn operator_status(&self) { |
| 682 | if self.operator_context.is_none() { |
no test coverage detected