Skip to content

Commit

Permalink
meant to call net.DialPeer
Browse files Browse the repository at this point in the history
  • Loading branch information
jbenet committed Oct 13, 2014
1 parent 451d977 commit 5401004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchange/bitswap/network/net_message_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (adapter *impl) HandleMessage(
}

func (adapter *impl) DialPeer(p *peer.Peer) error {
return adapter.DialPeer(p)
return adapter.net.DialPeer(p)
}

func (adapter *impl) SendMessage(
Expand Down

0 comments on commit 5401004

Please sign in to comment.