Fix chain cover update to handle events with duplicate auth events (#9210)

This commit is contained in:
Erik Johnston 2021-01-22 19:44:08 +00:00 committed by GitHub
parent 28f255d5f3
commit 056327457f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View file

@ -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