Skip to content

Commit

Permalink
fix: dont use the gostream patch (#655)
Browse files Browse the repository at this point in the history
* deps: FFI: update to version used by lotus v1.17.0-rc3

* fix: use libp2p network stream instead of patched gostream

Co-authored-by: Aayush <arajasek94@gmail.com>
  • Loading branch information
jacobheun and arajasek authored Jul 20, 2022
1 parent 660ef14 commit d8debf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport/httptransport/libp2p_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (s *Libp2pCarServer) sendCar(r *http.Request, w http.ResponseWriter, val *A
}}

// Get a channel that will be closed when the client closes the connection
stream := getConn(r).(gostream.Stream)
stream := getConn(r).(network.Stream)
closeCh := s.streamMonitor.getCloseChan(stream.ID())

// Send the content
Expand Down

0 comments on commit d8debf4

Please sign in to comment.