mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-18 01:54:29 -05:00
fix(orchestrator): electrs takes bitcoin instead of mainnet as a value to the --network flag
This commit is contained in:
parent
b5574de1fb
commit
0cd7a0e17a
1 changed files with 1 additions and 1 deletions
|
|
@ -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"),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue