Periodic websocket sends are now working
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use bft_json_crdt::keypair::make_keypair;
|
||||
use cli::{parse_args, Commands};
|
||||
|
||||
pub(crate) mod cli;
|
||||
@@ -13,7 +14,8 @@ async fn main() {
|
||||
init::init();
|
||||
}
|
||||
Some(Commands::Run {}) => {
|
||||
websocket::start().await.unwrap();
|
||||
let keys = make_keypair();
|
||||
websocket::start(keys).await.unwrap();
|
||||
}
|
||||
None => println!("No command provided. Exiting. See --help for more information."),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user