mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 05:45:40 +00:00
Removed unused binary
This commit is contained in:
parent
3b005bd15c
commit
dca15b6872
@ -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);
|
|
||||||
}
|
|
||||||
_ => {}
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user