Skip to content

Commit

Permalink
📝 Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andremacedopv committed Jul 28, 2023
1 parent 1000d70 commit edc9380
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions events/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ type Event struct {
Chaincode string `json:"chaincode"`

// CustomFunction is used an event of type "EventCustom" is called.
// It is a function that receives a stub and a payload and returns an error.
CustomFunction func(*sw.StubWrapper, []byte) error `json:"-"`
}

Expand Down

0 comments on commit edc9380

Please sign in to comment.