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
2ea753ec
Commit
2ea753ec
authored
Sep 14, 2018
by
gukq
Browse files
Just repair spelling mistake
Signed-off-by:
gukq
<
gukaiqiang@gmail.com
>
parent
b84518b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
p2p/net/mock/mock_peernet.go
View file @
2ea753ec
...
@@ -372,7 +372,7 @@ func (pn *peernet) Notify(f inet.Notifiee) {
...
@@ -372,7 +372,7 @@ func (pn *peernet) Notify(f inet.Notifiee) {
pn
.
notifmu
.
Unlock
()
pn
.
notifmu
.
Unlock
()
}
}
// StopNotify unregisters Notifiee from
r
receiving signals
// StopNotify unregisters Notifiee from receiving signals
func
(
pn
*
peernet
)
StopNotify
(
f
inet
.
Notifiee
)
{
func
(
pn
*
peernet
)
StopNotify
(
f
inet
.
Notifiee
)
{
pn
.
notifmu
.
Lock
()
pn
.
notifmu
.
Lock
()
delete
(
pn
.
notifs
,
f
)
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