Skip to content
Snippets Groups Projects
Commit 1a26905c authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix pontenial bug in state resolution handler that compared dicts rather than their id's

parent 33d62c2c
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,10 @@ class StateHandler(object):
defer.returnValue(True)
return
if new_branch[-1] == current_branch[-1]:
n = new_branch[-1]
c = current_branch[-1]
if n.pdu_id == c.pdu_id and n.origin == c.origin:
# We have all the PDUs we need, so we can just do the conflict
# resolution.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment