Ensure state res results are unique

main
Neil Alexander 2020-03-30 09:51:45 +01:00
parent 05e1ae8745
commit 664f31ec98
1 changed files with 1 additions and 1 deletions

View File

@ -672,7 +672,7 @@ func (v StateResolution) calculateStateAfterManyEvents(
return
}
algorithm = "full_state_with_conflicts"
state = resolved
state = resolved[:util.SortAndUnique(stateEntrySorter(resolved))]
} else {
algorithm = "full_state_no_conflicts"
// 6) There weren't any conflicts