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 committed Aug 31, 2023
1 parent 264b4bb commit 31dad46
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 @@ -912,9 +912,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 31dad46

Please sign in to comment.