Fixed transaction structure. Remote transactions not apply()ing yet.

This commit is contained in:
Dave Hrycyszyn
2024-06-05 18:07:59 +01:00
parent c866774612
commit e85683e865
3 changed files with 48 additions and 34 deletions

View File

@@ -109,7 +109,7 @@ pub struct BaseCrdt<T: CrdtNode> {
/// An [`Op<Value>`] with a few bits of extra metadata
#[serde_as]
#[derive(Clone, Serialize, Deserialize, Debug)]
#[derive(Clone, Serialize, Deserialize, Debug, PartialEq)]
pub struct SignedOp {
// Note that this can be different from the author of the inner op as the inner op could have been created
// by a different person