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 Sep 14, 2023
1 parent 25ac002 commit 7c1f8f3
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 7c1f8f3

Please sign in to comment.