Skip to content

Commit

Permalink
fix: revert two more spots back to rfc23, since being compared
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Walker <alex.walker@indicio.tech>
  • Loading branch information
anwalker293 authored and dbluhm committed Sep 5, 2023
1 parent fcb17e3 commit 70f59cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aries_cloudagent/protocols/didexchange/v1_0/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,9 +903,9 @@ async def reject(
) -> DIDXProblemReport:
"""Abandon an existing DID exchange."""
state_to_reject_code = {
ConnRecord.State.INVITATION.rfc160
ConnRecord.State.INVITATION.rfc23
+ "-received": ProblemReportReason.INVITATION_NOT_ACCEPTED,
ConnRecord.State.REQUEST.rfc160
ConnRecord.State.REQUEST.rfc23
+ "-received": ProblemReportReason.REQUEST_NOT_ACCEPTED,
}
code = state_to_reject_code.get(conn_rec.rfc23_state)
Expand Down

0 comments on commit 70f59cc

Please sign in to comment.