- if bitcoind_chain != match args.network {
- bitcoin::Network::Bitcoin => "main",
- bitcoin::Network::Testnet => "test",
- bitcoin::Network::Regtest => "regtest",
- bitcoin::Network::Signet => "signet",
- } {
- println!("Chain argument ({}) didn't match bitcoind chain ({})", args.network, bitcoind_chain);
+ if bitcoind_chain
+ != match args.network {
+ bitcoin::Network::Bitcoin => "main",
+ bitcoin::Network::Testnet => "test",
+ bitcoin::Network::Regtest => "regtest",
+ bitcoin::Network::Signet => "signet",
+ } {
+ println!(
+ "Chain argument ({}) didn't match bitcoind chain ({})",
+ args.network, bitcoind_chain
+ );