polylogarithmic debodge

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and June committed 2024-04-14 22:35:23 -04:00
1 parent e493b3a60d
commit ad4e214d28
1 file changed
-2
-2
View File
@@ -538,10 +538,8 @@ impl Service {
// Remove any forward extremities that are referenced by this incoming event's
// prev_events
for prev_event in &incoming_pdu.prev_events {
if extremities.contains(prev_event) {
extremities.remove(prev_event);
}
}
// Only keep those extremities were not referenced yet
extremities.retain(|id| {