Skip to content

Commit

Permalink
Fix adding a capabilityDelegation verification method to DID Document
Browse files Browse the repository at this point in the history
  • Loading branch information
mistermoe authored Oct 10, 2023
1 parent 754dd36 commit 883d6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/foundation/identity/did/DIDDocument.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public B capabilityDelegationVerificationMethods(List<VerificationMethod> capabi
}

public B capabilityDelegationVerificationMethod(VerificationMethod capabilityDelegationVerificationMethod) {
return this.capabilityInvocationVerificationMethods(capabilityDelegationVerificationMethod == null ? null : Collections.singletonList(capabilityDelegationVerificationMethod));
return this.capabilityDelegationVerificationMethods(capabilityDelegationVerificationMethod == null ? null : Collections.singletonList(capabilityDelegationVerificationMethod));
}

public B services(List<Service> services) {
Expand Down

0 comments on commit 883d6c8

Please sign in to comment.