(&self)
| 50 | } |
| 51 | |
| 52 | fn get_network(&self) -> Network { |
| 53 | match self.faucet_type { |
| 54 | FaucetType::Signet => Network::Signet, |
| 55 | FaucetType::EsploraRegtest => Network::Regtest, |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | pub async fn wait(&self) { |
| 60 | wait_for_confirmation_with_message(self.get_network(), Some("funding inputs tx")).await; |