Skip to content

Commit

Permalink
Update net/blockwise/blockwise.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jkralik authored May 2, 2024
1 parent 921ef07 commit f39d581
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/blockwise/blockwise.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ func newWriteRequestResponse[C Client](cc C, request *pool.Message) *responsewri
req.SetToken(request.Token())
req.ResetOptionsTo(request.Options())
req.SetBody(request.Body())
if request.Type() == message.Confirmable || request.Type() == message.NonConfirmable {
req.SetType(request.Type())
}
if request.Type() == message.Confirmable || request.Type() == message.NonConfirmable {
req.SetType(request.Type())
}
return responsewriter.New(req, cc, request.Options()...)
}

Expand Down

0 comments on commit f39d581

Please sign in to comment.