Skip to content

Commit 489141c

Browse files
authored
fix: Credential status changed to array of interface{} to comply with LD validator (#96)
Signed-off-by: Bob Stasyszyn <bob.stasyszyn@gendigital.com>
1 parent 3701dea commit 489141c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

verifiable/credential.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2741,7 +2741,7 @@ func (vc *Credential) WithModifiedStatus(status ...*TypedID) *Credential {
27412741
if len(statuses) == 1 {
27422742
newCredJSON[jsonFldStatus] = serializeTypedIDObj(*statuses[0])
27432743
} else if len(statuses) > 1 {
2744-
statusObjects := make([]JSONObject, len(statuses))
2744+
statusObjects := make([]interface{}, len(statuses))
27452745

27462746
for i, s := range statuses {
27472747
statusObjects[i] = serializeTypedIDObj(*s)

0 commit comments

Comments
 (0)