fix(orchestrator): electrs takes bitcoin instead of mainnet as a value to the --network flag

This commit is contained in:
Mohan 2025-08-24 23:29:51 +02:00 committed by GitHub
parent b5574de1fb
commit 0cd7a0e17a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ impl Network {
impl IntoFlag for Network {
fn to_flag(self) -> Flag {
match self.0 {
bitcoin::Network::Bitcoin => flag!("--network=mainnet"),
bitcoin::Network::Bitcoin => flag!("--network=bitcoin"),
bitcoin::Network::Testnet => flag!("--network=testnet"),
_ => panic!("Only Mainnet and Testnet are supported"),
}