Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3217 from fqutishat/update
Browse files Browse the repository at this point in the history
chore: rename operationRequest to operation
  • Loading branch information
fqutishat authored Apr 11, 2022
2 parents be0a515 + dce9dbb commit 6648408
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/doc/did/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,15 @@ type MethodMetadata struct {
// AnchorOrigin is anchor origin.
AnchorOrigin string `json:"anchorOrigin,omitempty"`
// UnpublishedOperations unpublished operations
UnpublishedOperations []*Operations `json:"unpublishedOperations,omitempty"`
UnpublishedOperations []*ProtocolOperation `json:"unpublishedOperations,omitempty"`
// PublishedOperations published operations
PublishedOperations []*Operations `json:"publishedOperations,omitempty"`
PublishedOperations []*ProtocolOperation `json:"publishedOperations,omitempty"`
}

// Operations info.
type Operations struct {
// OperationRequest is operation request.
OperationRequest string `json:"operationRequest,omitempty"`
// ProtocolOperation info.
type ProtocolOperation struct {
// Operation is operation request.
Operation string `json:"operation,omitempty"`
// ProtocolVersion is protocol version.
ProtocolVersion int `json:"protocolVersion,omitempty"`
// TransactionNumber is transaction number.
Expand Down

0 comments on commit 6648408

Please sign in to comment.