Skip to content

Commit

Permalink
fix: respond to did:peer:1 with did:peer:4
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
  • Loading branch information
dbluhm committed Jun 19, 2024
1 parent 9e92e23 commit 7080d92
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 @@ -798,6 +798,8 @@ async def create_response(
use_did_method = "did:peer:2"
elif conn_rec.their_did and conn_rec.their_did.startswith("did:peer:4"):
use_did_method = "did:peer:4"
elif conn_rec.their_did and conn_rec.their_did.startswith("did:peer:1"):
use_did_method = "did:peer:4"
else:
use_did_method = None

Expand Down

0 comments on commit 7080d92

Please sign in to comment.