Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
1959dde2
Unverified
Commit
1959dde2
authored
Sep 14, 2018
by
vyzo
Committed by
GitHub
Sep 14, 2018
Browse files
Merge pull request #423 from KerwinKoo/master
Just repair spelling mistake
parents
8f826ec2
2ea753ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
p2p/net/mock/mock_peernet.go
View file @
1959dde2
...
...
@@ -372,7 +372,7 @@ func (pn *peernet) Notify(f inet.Notifiee) {
pn
.
notifmu
.
Unlock
()
}
// StopNotify unregisters Notifiee from
r
receiving signals
// StopNotify unregisters Notifiee from receiving signals
func
(
pn
*
peernet
)
StopNotify
(
f
inet
.
Notifiee
)
{
pn
.
notifmu
.
Lock
()
delete
(
pn
.
notifs
,
f
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment