Removed unused binary

This commit is contained in:
rishflab 2020-11-27 13:50:48 +11:00
parent 3b005bd15c
commit dca15b6872

View File

@ -1,26 +0,0 @@
use anyhow::Result;
use structopt::StructOpt;
use swap::{alice::swap::swap, bob::swap::BobState, cli::Options, storage::Database};
#[tokio::main]
async fn main() -> Result<()> {
let opt = Options::from_args();
let db = Database::open(std::path::Path::new("./.swap-db/")).unwrap();
let swarm = unimplemented!();
let bitcoin_wallet = unimplemented!();
let monero_wallet = unimplemented!();
let mut rng = unimplemented!();
let bob_state = unimplemented!();
match opt {
Options::Alice { .. } => {
swap(bob_state, swarm, bitcoin_wallet, monero_wallet).await?;
}
Options::Recover { .. } => {
let _stored_state: BobState = unimplemented!("io.get_state(uuid)?");
// abort(_stored_state, _io);
}
_ => {}
};
}