Simplifying

This commit is contained in:
Dave Hrycyszyn
2024-06-10 16:43:45 +01:00
parent 6077c3a519
commit 443c4e1dac
3 changed files with 51 additions and 28 deletions

View File

@@ -38,7 +38,7 @@ impl SideNode {
self.crdt.apply(incoming.clone());
}
pub(crate) fn add_transaction_local(
pub(crate) fn _add_transaction_local(
&mut self,
transaction: serde_json::Value,
) -> bft_json_crdt::json_crdt::SignedOp {
@@ -59,7 +59,7 @@ impl SideNode {
}
/// Print the current state of the CRDT, can be used to debug
pub(crate) fn trace_crdt(&self) {
pub(crate) fn _trace_crdt(&self) {
println!("{:?}", self.crdt.doc.list);
}
}