Skip to content

Commit c8b7ded

Browse files
fix(mercury): this line of code was incorrectly validating did and forwarding messages
1 parent 8fd3e2f commit c8b7ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AtalaPrismSDK/Mercury/Sources/MecuryImpl+SendMessage.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ extension MercuryImpl {
125125
.first { $0.type.contains("DIDCommMessaging") }
126126
.map {
127127
$0.serviceEndpoint
128-
.map { try? DID(string: $0.uri) }
128+
.map { try? castor.parseDID(str: $0.uri) }
129129
.compactMap { $0 }
130130
}?.first
131131
}

0 commit comments

Comments
 (0)