Minor cleanup
This commit is contained in:
@@ -39,8 +39,7 @@ impl ezsockets::ClientExt for WebSocketClient {
|
|||||||
|
|
||||||
async fn on_text(&mut self, text: String) -> Result<(), ezsockets::Error> {
|
async fn on_text(&mut self, text: String) -> Result<(), ezsockets::Error> {
|
||||||
tracing::info!("received message: {text}");
|
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();
|
||||||
// let author = base64::engine::general_purpose::STANDARD.encode(&incoming.author());
|
|
||||||
// self.bft_crdt.apply(incoming.clone());
|
// self.bft_crdt.apply(incoming.clone());
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
@@ -55,5 +54,3 @@ impl ezsockets::ClientExt for WebSocketClient {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// pub(crate) async fn start(self, keys: Ed25519KeyPair, bft_crdt: &mut BaseCrdt<CrdtList>) {}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user