Skip to content

Commit 26b0dae

Browse files
committed
fix TestPreparePeerData
1 parent f6cceb0 commit 26b0dae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

network/wsNetwork_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3780,6 +3780,8 @@ func TestPreparePeerData(t *testing.T) {
37803780

37813781
wn := WebsocketNetwork{}
37823782
wn.broadcaster.log = logging.TestingLog(t)
3783+
// Enable vote compression for the test
3784+
wn.broadcaster.enableVoteCompression = true
37833785
data := make([][]byte, len(reqs))
37843786
compressedData := make([][]byte, len(reqs))
37853787
digests := make([]crypto.Digest, len(reqs))

0 commit comments

Comments
 (0)