Starting to format out BFT-CRDTs.

This commit is contained in:
Dave Hrycyszyn
2024-05-29 18:17:34 +01:00
parent fff4bfe9ee
commit 56061bb94b
4 changed files with 70 additions and 8 deletions

View File

@@ -1,4 +1,3 @@
use bft_json_crdt::keypair::make_keypair;
use cli::{parse_args, Commands};
pub(crate) mod cli;
@@ -14,8 +13,7 @@ async fn main() {
init::init();
}
Some(Commands::Run {}) => {
let keys = make_keypair();
websocket::start(keys).await.unwrap();
websocket::start().await.unwrap();
}
None => println!("No command provided. Exiting. See --help for more information."),
}