mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 03:34:49 -04:00
Fix chain cover update to handle events with duplicate auth events (#9210)
This commit is contained in:
parent
28f255d5f3
commit
056327457f
3 changed files with 14 additions and 1 deletions
|
@ -78,7 +78,7 @@ def sorted_topologically(
|
|||
if node not in degree_map:
|
||||
continue
|
||||
|
||||
for edge in edges:
|
||||
for edge in set(edges):
|
||||
if edge in degree_map:
|
||||
degree_map[node] += 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue