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 #6566

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

davidwoood
Copy link

Reasoning behind the pull request

The intention here should be to initialize a slice with a capacity of core.NumInitCharactersForScAddress-core.VMTypeLen rather than initializing the length of this slice.

The online demo: https://go.dev/play/p/q1BcVCmvidW

Proposed changes

Testing procedure

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

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

Successfully merging this pull request may close these issues.

1 participant