diff --git a/packages/solo/solo.go b/packages/solo/solo.go index 2c1dcf5a9f..34c94fe756 100644 --- a/packages/solo/solo.go +++ b/packages/solo/solo.go @@ -440,9 +440,8 @@ func (ch *Chain) collateBatch() []isc.Request { if batchSize > maxBatch { batchSize = maxBatch } - ret := make([]isc.Request, 0) - ret = append(ret, requests[:batchSize]...) - return ret + + return requests[:batchSize] } // batchLoop mimics behavior Wasp consensus