Skip to content

Commit

Permalink
fix(shrexeds): close stream (celestiaorg#2705)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wondertan authored and vgonkivs committed Oct 5, 2023
1 parent a5266bd commit 52c847d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions share/p2p/shrexeds/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func (c *Client) doRequest(
if err != nil {
return nil, fmt.Errorf("failed to open stream: %w", err)
}
defer stream.Close()

c.setStreamDeadlines(ctx, stream)

Expand Down

0 comments on commit 52c847d

Please sign in to comment.