Skip to content

Commit

Permalink
Updating result type in Council
Browse files Browse the repository at this point in the history
  • Loading branch information
mikiquantum committed Dec 16, 2020
1 parent 872a1dd commit 068769d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -629,20 +629,20 @@ type EventCollectiveDisapproved struct {
Topics []Hash
}

// EventCollectiveExecuted is emitted when a motion was executed; `bool` is true if returned without error.
// EventCollectiveExecuted is emitted when a motion was executed; `result` is true if returned without error.
type EventCollectiveExecuted struct {
Phase Phase
Proposal Hash
Ok bool
Result DispatchResult
Topics []Hash
}

// EventCollectiveMemberExecuted is emitted when a single member did some action;
// `bool` is true if returned without error.
// `result` is true if returned without error.
type EventCollectiveMemberExecuted struct {
Phase Phase
Proposal Hash
Ok bool
Result DispatchResult
Topics []Hash
}

Expand Down

0 comments on commit 068769d

Please sign in to comment.