More pushing code around

This commit is contained in:
Dave Hrycyszyn
2024-06-07 18:42:28 +01:00
parent 9dc515fb78
commit c3f5b2890b
6 changed files with 51 additions and 54 deletions

View File

@@ -39,7 +39,8 @@ impl ezsockets::ClientExt for WebSocketClient {
async fn on_text(&mut self, text: String) -> Result<(), ezsockets::Error> {
tracing::info!("received message: {text}");
let incoming: bft_json_crdt::json_crdt::SignedOp = serde_json::from_str(&text).unwrap();
let _incoming: bft_json_crdt::json_crdt::SignedOp = serde_json::from_str(&text).unwrap();
// TODO: make this sucker work
// self.bft_crdt.apply(incoming.clone());
Ok(())
}