diff --git a/transport/internet/kcp/sending_test.go b/transport/internet/kcp/sending_test.go index 39e9ea10..6e8709ad 100644 --- a/transport/internet/kcp/sending_test.go +++ b/transport/internet/kcp/sending_test.go @@ -66,7 +66,7 @@ func TestSendingQueueClear(t *testing.T) { func TestSendingWindow(t *testing.T) { assert := assert.On(t) - window := NewSendingWindow(5, 5, nil, nil) + window := NewSendingWindow(5, nil, nil) window.Push(&DataSegment{ Number: 0, })