mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 05:56:45 +01:00
event: fix typo (#15270)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user