mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-06 12:25:03 +00:00
fix: sort key -lamport
This commit is contained in:
parent
dcb5ae4ec6
commit
de12fc8da9
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ impl<'a, T: DagNode + 'a, D: Dag<Node = T>> Iterator for DagCausalIter<'a, D> {
|
|||
break;
|
||||
}
|
||||
}
|
||||
(same_client, h.lamport)
|
||||
(same_client, -(h.lamport as i32))
|
||||
});
|
||||
self.heap.pop().unwrap().id
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue