diff --git a/aries_cloudagent/protocols/didexchange/v1_0/manager.py b/aries_cloudagent/protocols/didexchange/v1_0/manager.py index 5945696941..2bb30011bc 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/manager.py +++ b/aries_cloudagent/protocols/didexchange/v1_0/manager.py @@ -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)