Skip to content

Commit

Permalink
fix: != to ==
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Mar 11, 2018
1 parent 8eef351 commit 3e810f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/protocol/internal/circuitv1-deprecated/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func peerToPeerInfo(p *pb.CircuitRelay_Peer) (pstore.PeerInfo, error) {
addrs := make([]ma.Multiaddr, len(p.Addrs))
for i := 0; i < len(addrs); i++ {
a, err := ma.NewMultiaddrBytes(p.Addrs[i])
if err != nil {
if err == nil {
addrs[i] = a
}
}
Expand Down

0 comments on commit 3e810f1

Please sign in to comment.