Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Unname return values
Browse files Browse the repository at this point in the history
  • Loading branch information
anacrolix committed Feb 5, 2019
1 parent b349cb4 commit 02574c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarm_dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ func (s *Swarm) filterKnownUndialables(addrs []ma.Multiaddr) []ma.Multiaddr {
)
}

func (s *Swarm) dialAddrs(ctx context.Context, p peer.ID, remoteAddrs <-chan ma.Multiaddr) (conn transport.Conn, err error) {
func (s *Swarm) dialAddrs(ctx context.Context, p peer.ID, remoteAddrs <-chan ma.Multiaddr) (transport.Conn, error) {
log.Debugf("%s swarm dialing %s", s.local, p)

ctx, cancel := context.WithCancel(ctx)
Expand Down

0 comments on commit 02574c4

Please # to comment.