Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix slice init length #2912

Closed
wants to merge 1 commit into from
Closed

fix: fix slice init length #2912

wants to merge 1 commit into from

Conversation

rusttech
Copy link

@rusttech rusttech commented Oct 2, 2024

Description

The intention here should be to initialize a slice with a capacity of len(m.pendingPackets) rather than initializing the length of this slice.

Reference issue

Fixes #...

@Sean-Der
Copy link
Member

Sean-Der commented Oct 3, 2024

Hi @rusttech

Unfortunately this change doesn’t compile. Mind checking it again, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants