Skip to content

Commit 068769d

Browse files
committed
Updating result type in Council
1 parent 872a1dd commit 068769d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

types/events.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -629,20 +629,20 @@ type EventCollectiveDisapproved struct {
629629
Topics []Hash
630630
}
631631

632-
// EventCollectiveExecuted is emitted when a motion was executed; `bool` is true if returned without error.
632+
// EventCollectiveExecuted is emitted when a motion was executed; `result` is true if returned without error.
633633
type EventCollectiveExecuted struct {
634634
Phase Phase
635635
Proposal Hash
636-
Ok bool
636+
Result DispatchResult
637637
Topics []Hash
638638
}
639639

640640
// EventCollectiveMemberExecuted is emitted when a single member did some action;
641-
// `bool` is true if returned without error.
641+
// `result` is true if returned without error.
642642
type EventCollectiveMemberExecuted struct {
643643
Phase Phase
644644
Proposal Hash
645-
Ok bool
645+
Result DispatchResult
646646
Topics []Hash
647647
}
648648

0 commit comments

Comments
 (0)