Browse Source

Merge pull request #423 from KerwinKoo/master

Just repair spelling mistake
pull/425/head
vyzo 6 years ago
committed by GitHub
parent
commit
1959dde238
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      p2p/net/mock/mock_peernet.go

2
p2p/net/mock/mock_peernet.go

@ -372,7 +372,7 @@ func (pn *peernet) Notify(f inet.Notifiee) {
pn.notifmu.Unlock()
}
// StopNotify unregisters Notifiee fromr receiving signals
// StopNotify unregisters Notifiee from receiving signals
func (pn *peernet) StopNotify(f inet.Notifiee) {
pn.notifmu.Lock()
delete(pn.notifs, f)

Loading…
Cancel
Save