Skip to content

Conversation

@slightsharp
Copy link

@slightsharp slightsharp commented Jan 23, 2026

Proposed changes

In Go 1.21, the standard library includes built-in max/min function, which can greatly simplify the code.

Types of changes

  • πŸ› Bug fix
  • ✨ Non-hardfork changes (node upgrade not required)
  • πŸ’₯ Hardfork / consensus-breaking changes
  • πŸ§ͺ Test improvements
  • 🧰 CI / build tool
  • ♻️ Chore / Refactor / Non-functional changes

Checklist

  • πŸ“– I have read the CONTRIBUTING GUIDELINES doc
  • πŸ“ I have signed in the PR comment I have read the CLA Document and I hereby sign the CLA in first time contribute after having read CLA
  • 🟒 Lint and unit tests pass locally with my changes ($ make test)

Related issues

Further comments

Signed-off-by: slightsharp <slightsharp@outlook.com>
@github-actions
Copy link

github-actions bot commented Jan 23, 2026

CLA Assistant Lite bot All contributors have signed the CLA ✍️ βœ…

@slightsharp
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

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