Skip to content

Conversation

@oncecelll
Copy link
Contributor

I modified the return statement to utilize fmt.Appendf instead of fmt.Sprintf for creating the formatted byte slice.

The resulting code is cleaner and more efficient, maintaining the same functionality while improving resource usage.

More info can see golang/go#47579

@yperbasis yperbasis merged commit 9db4598 into erigontech:main Jan 13, 2026
16 checks passed
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.

3 participants