Skip to content

Commit

Permalink
event: fix typo (ethereum#15270)
Browse files Browse the repository at this point in the history
  • Loading branch information
LLLeon authored and fjl committed Oct 10, 2017
1 parent 3680cd5 commit cefeb58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (mux *TypeMux) Subscribe(types ...interface{}) *TypeMuxSubscription {
defer mux.mutex.Unlock()
if mux.stopped {
// set the status to closed so that calling Unsubscribe after this
// call will short curuit
// call will short circuit.
sub.closed = true
close(sub.postC)
} else {
Expand Down

0 comments on commit cefeb58

Please sign in to comment.