Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Feb 24, 2025
1 parent 9f4c879 commit 451a39b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions p2p/http/libp2phttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,6 @@ func (h *Host) RoundTrip(r *http.Request) (*http.Response, error) {
}

serverID, resp, err := h.ClientPeerIDAuth.AuthenticateWithRoundTripper(rt, r)
// c := http.Client{Transport: rt}
// serverID, resp, err := h.ClientPeerIDAuth.AuthenticatedDo(&c, r)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 451a39b

Please sign in to comment.