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 e493b3a60d
commit ad4e214d28

View file

@ -538,9 +538,7 @@ 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);
}
extremities.remove(prev_event);
}
// Only keep those extremities were not referenced yet