Skip to content

Commit fd2dfbd

Browse files
committed
reverts
1 parent 5d886f4 commit fd2dfbd

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

crypto/crypto.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func (client *Crypto) Configure(config core.ServerConfig) error {
184184
}
185185

186186
func (client *Crypto) Migrate() error {
187-
// ListDIDs all keys from the backend
187+
// List all keys from the backend
188188
// check for each key if a KeyReference exists in the SQL database
189189
// if not, create a new KeyReference
190190
// else do nothing

network/api/v1/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (a *Wrapper) ListTransactions(_ context.Context, request ListTransactionsRe
6464
return nil, core.InvalidInputError("invalid range")
6565
}
6666

67-
// ListDIDs the specified transaction range (if it exists)
67+
// List the specified transaction range (if it exists)
6868
transactions, err := a.Service.ListTransactionsInRange(uint32(start), uint32(end))
6969
if err != nil {
7070
return nil, err

vcr/revocation/bitstring.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ func compress(bitstring []byte) (string, error) {
8181
}
8282

8383
// encode to base64 string.
84-
// bitstring Status ListDIDs spec clarified this to be multibase base64URL encoding without padding. StatusList2021 spec is not multibase.
84+
// bitstring Status List spec clarified this to be multibase base64URL encoding without padding. StatusList2021 spec is not multibase.
8585
return base64.RawURLEncoding.EncodeToString(buf.Bytes()), nil
8686
}
8787

8888
// expand a compressed StatusList2021 bitstring. It first applies base64 decoding followed by gzip decompression.
8989
func expand(encodedList string) (bitstring, error) {
9090
// base64 decode
91-
// bitstring Status ListDIDs spec clarified this to be multibase base64URL encoding without padding. StatusList2021 spec is not multibase.
91+
// bitstring Status List spec clarified this to be multibase base64URL encoding without padding. StatusList2021 spec is not multibase.
9292
enc := base64.RawURLEncoding
9393
if len(encodedList)%4 == 0 {
9494
// if encoding is a multiple of 4 it may or may not be padded. URLEncoding can handle both.

vcr/revocation/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ type ResolveKeyFn func(issuerDID did.DID, at *time.Time, relationType resolver.R
100100
var _ StatusList2021Issuer = (*StatusList2021)(nil)
101101
var _ StatusList2021Verifier = (*StatusList2021)(nil)
102102

103-
// StatusList2021 implements the W3C Verifiable Credentials Status ListDIDs v2021 draft specification.
103+
// StatusList2021 implements the W3C Verifiable Credentials Status List v2021 draft specification.
104104
// https://www.w3.org/TR/2023/WD-vc-status-list-20230427/
105105
// VerifySignature and Sign methods are used to verify and sign StatusList2021Credentials
106106
type StatusList2021 struct {

vdr/api/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type VerificationMethod = did.VerificationMethod
3636
type DIDCreateRequest struct {
3737
VerificationMethodRelationship
3838

39-
// ListDIDs of DIDs that can control the new DID Document. If selfControl = true and controllers is not empty,
39+
// List of DIDs that can control the new DID Document. If selfControl = true and controllers is not empty,
4040
// the newly generated DID will be added to the list of controllers.
4141
Controllers *[]string `json:"controllers,omitempty"`
4242

0 commit comments

Comments
 (0)