Skip to content

Commit

Permalink
💡 Fix comment error
Browse files Browse the repository at this point in the history
  • Loading branch information
andremacedopv committed Aug 3, 2023
1 parent 3f8bad1 commit 790c286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type Event struct {
// It is a function that receives a stub and a payload and returns an error.
CustomFunction func(*sw.StubWrapper, []byte) error `json:"-"`

// ReadOnly indicates if the CustomFunction has the ability to alter the world state (if of type EventTransaction).
// ReadOnly indicates if the CustomFunction has the ability to alter the world state (if of type EventCustom).
ReadOnly bool `json:"readOnly"`
}

Expand Down

0 comments on commit 790c286

Please sign in to comment.