mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-21 01:04:22 +01:00
cleanup main func
This commit is contained in:
@@ -83,7 +83,9 @@ fn main() -> anyhow::Result<()> {
|
||||
log::info!("NETWORK: {}", network.to_string());
|
||||
if matches.is_present("test") {
|
||||
run_test::run_test();
|
||||
} else {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let (tx, rx) = mpsc::channel(1000);
|
||||
let (status_tx, mut status_rx) = mpsc::channel(1000);
|
||||
log::info!("=> start broker");
|
||||
@@ -116,7 +118,6 @@ fn main() -> anyhow::Result<()> {
|
||||
let mut signer_loop = SignerLoop::new(client, tx);
|
||||
signer_loop.start();
|
||||
// })
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user