Skip to content

Commit f6cceb0

Browse files
cceCopilot
andauthored
Update network/msgCompressor.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5a9e996 commit f6cceb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network/msgCompressor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func vpackCompressVote(tbytes []byte, d []byte) ([]byte, string) {
6262
comp, err := enc.CompressVote(mbytesComp[len(tbytes):], d)
6363
if err != nil {
6464
// fallback and reuse non-compressed original data
65-
logMsg := fmt.Sprintf("failed to compress vote into buffer of len %d:: %v", len(d), err)
65+
logMsg := fmt.Sprintf("failed to compress vote into buffer of len %d: %v", len(d), err)
6666
copied := copy(mbytesComp[len(tbytes):], d)
6767
return mbytesComp[:len(tbytes)+copied], logMsg
6868
}

0 commit comments

Comments
 (0)