From 9b96ce6363406416091a66dbe02283d67a627abd Mon Sep 17 00:00:00 2001 From: vbasiuk Date: Tue, 9 Jul 2024 13:19:16 +0300 Subject: [PATCH] undo: Controller in VM is required field --- verifiable/did_doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/verifiable/did_doc.go b/verifiable/did_doc.go index ea50b91..79cf18a 100644 --- a/verifiable/did_doc.go +++ b/verifiable/did_doc.go @@ -57,7 +57,7 @@ type DeviceMetadata struct { type CommonVerificationMethod struct { ID string `json:"id"` Type string `json:"type"` - Controller string `json:"controller,omitempty"` + Controller string `json:"controller"` PublicKeyJwk map[string]interface{} `json:"publicKeyJwk,omitempty"` PublicKeyMultibase string `json:"publicKeyMultibase,omitempty"` PublicKeyHex string `json:"publicKeyHex,omitempty"`