More pushing code around
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user