Skip to content

Commit

Permalink
event: remove unused field 'closed' (ethereum#20324)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl authored and karalabe committed Nov 19, 2019
1 parent 94e8250 commit 7f70a70
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions event/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ type Feed struct {
sendCases caseList // the active set of select cases used by Send

// The inbox holds newly subscribed channels until they are added to sendCases.
mu sync.Mutex
inbox caseList
etype reflect.Type
closed bool
mu sync.Mutex
inbox caseList
etype reflect.Type
}

// This is the index of the first actual subscription channel in sendCases.
Expand Down

0 comments on commit 7f70a70

Please sign in to comment.