Skip to content

Commit

Permalink
feat: implement auto-accept behavior
Browse files Browse the repository at this point in the history
As outlined in hyperledger#2857

Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
  • Loading branch information
dbluhm committed Apr 4, 2024
1 parent ff8a613 commit 85f01f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aries_cloudagent/protocols/didexchange/v1_0/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ async def create_request(
conn_rec, my_endpoints, mediation_records
)
else:
if conn_rec.accept == ConnRecord.ACCEPT_AUTO:
use_did_method = "did:peer:4"
try:
did, attach = await self._qualified_did_with_fallback(
conn_rec,
Expand Down

0 comments on commit 85f01f0

Please sign in to comment.