Skip to content

Commit

Permalink
Update network/wsNetwork.go
Browse files Browse the repository at this point in the history
  • Loading branch information
algorandskiy authored Jul 30, 2024
1 parent ac6e1a6 commit b133b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/wsNetwork.go
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,7 @@ func (wn *WebsocketNetwork) getPeersChangeCounter() int32 {
// preparePeerData prepares batches of data for sending.
// It performs zstd compression for proposal massages if they this is a prio request and has proposal.
func (wn *msgBroadcaster) preparePeerData(request broadcastRequest, prio bool) ([][]byte, []crypto.Digest) {
// determine if there is a payload proposal and peers supporting compressed payloads
// determine if there is a payload proposal and if so compress proposal portion of the request
shouldCompress := false
if prio {
shouldCompress = checkCompressible(request)
Expand Down

0 comments on commit b133b24

Please sign in to comment.