Skip to content

Commit

Permalink
fixed compilation error (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 committed May 29, 2020
1 parent 3a1d20b commit 6b34fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/host/basic/basic_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func NewHost(ctx context.Context, n network.Network, opts *HostOpts) (*BasicHost
listenHandler := func(network.Network, ma.Multiaddr) {
h.SignalAddressChange()
}
net.Notify(&network.NotifyBundle{
n.Notify(&network.NotifyBundle{
ListenF: listenHandler,
ListenCloseF: listenHandler,
})
Expand Down

0 comments on commit 6b34fff

Please sign in to comment.