Skip to content

Commit 70c8e24

Browse files
authored
Updates 'Not Found' to 'Conflict' in the circumstance witnesses do not have each other's receipts for the latest event. (#1086)
Signed-off-by: Kevin Griffin <[email protected]>
1 parent 6d2bdda commit 70c8e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/keri/end/ending.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ def on_get(self, req, rep, aid=None, role=None, eid=None):
574574

575575
kever = self.hby.kevers[aid]
576576
if not self.hby.db.fullyWitnessed(kever.serder):
577-
rep.status = falcon.HTTP_NOT_FOUND
577+
rep.status = falcon.HTTP_CONFLICT
578578
return
579579

580580
if kever.delegated and kever.delpre not in self.hby.kevers:

0 commit comments

Comments
 (0)