Skip to content

Commit 5ea74f7

Browse files
committed
remove comments
1 parent 1525015 commit 5ea74f7

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

verifiable/did_doc.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,6 @@ type CommonVerificationMethod struct {
148148
IdentityState
149149
}
150150

151-
// TODO (illia-korotia): resolve key depend on cvm.Type
152-
// pseudocode:
153-
// if EcdsaSecp256k1VerificationKey2019 = resilve from PublicKeyJwk or PublicKeyMultibase or ...
154-
// if EddsaBJJVerificationKey = resolve only from PublicKeyJwk
155-
// etc...
156-
// func (cvm *CommonVerificationMethod) Key() (*crypto.PublicKey)
157-
158151
type Authentication struct {
159152
CommonVerificationMethod
160153
did string

verifiable/did_doc_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ func TestDidDoc_ResolveKeyAgreementVerificationMethods(t *testing.T) {
189189
name: "Resolve did reference and inline methods",
190190
doc: DIDDocument{
191191
VerificationMethod: []CommonVerificationMethod{vm1, vm2},
192-
// authentication contains a DID reference to vm1 and inline vm2
193192
KeyAgreement: []Authentication{
194193
{CommonVerificationMethod: CommonVerificationMethod{}, did: vm1.ID},
195194
{CommonVerificationMethod: vm2},

0 commit comments

Comments
 (0)