polylogarithmic debodge

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-04-12 19:20:11 -07:00 committed by June
parent 4471f1e5c7
commit 6dee2edb52

View file

@ -538,9 +538,7 @@ impl Service {
// Remove any forward extremities that are referenced by this incoming event's // Remove any forward extremities that are referenced by this incoming event's
// prev_events // prev_events
for prev_event in &incoming_pdu.prev_events { for prev_event in &incoming_pdu.prev_events {
if extremities.contains(prev_event) { extremities.remove(prev_event);
extremities.remove(prev_event);
}
} }
// Only keep those extremities were not referenced yet // Only keep those extremities were not referenced yet