Skip to content

Commit

Permalink
did peer jwk id and controller strings were mixed up
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed Jul 18, 2023
1 parent 01ddf6c commit 397f18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion did/peer/peer0.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (Method0) resolve(didDoc did.DID, _ resolution.Option) (*resolution.Result,
keyReference := Hash + v
id := string(d)

verificationMethod, err := did.ConstructJWKVerificationMethod(id, keyReference, pubKey, cryptoKeyType)
verificationMethod, err := did.ConstructJWKVerificationMethod(keyReference, id, pubKey, cryptoKeyType)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 397f18b

Please sign in to comment.