(&self)
| 1304 | } |
| 1305 | |
| 1306 | pub fn get_operator_address(&self) -> Address { |
| 1307 | if let Some(ref context) = self.operator_context { |
| 1308 | generate_pay_to_pubkey_script_address(context.network, &context.operator_public_key) |
| 1309 | } else { |
| 1310 | panic!("Operator private key not provided in configuration."); |
| 1311 | } |
| 1312 | } |
| 1313 | |
| 1314 | pub async fn get_operator_utxos(&self) -> Vec<Utxo> { |
| 1315 | self.esplora |
no test coverage detected