Skip to content

Conversation

@pingshuijie
Copy link
Contributor

use the built-in max/min to simplify the code

@pingshuijie
Copy link
Contributor Author

Thank you for your review and approval.

@yperbasis yperbasis enabled auto-merge (squash) September 23, 2025 15:18
@yperbasis yperbasis merged commit 1558ac6 into erigontech:main Sep 23, 2025
16 checks passed
NazariiDenha pushed a commit that referenced this pull request Oct 24, 2025
use the built-in max/min to simplify the code

Signed-off-by: pingshuijie <[email protected]>
Co-authored-by: yperbasis <[email protected]>
taratorio pushed a commit that referenced this pull request Oct 27, 2025
In Go 1.21, the standard library includes built-in
[max/min](https://pkg.go.dev/[email protected]#max) function, which can
greatly simplify the code.

Inspired by #16213 and replace
more.

Signed-off-by: zhetaicheleba <[email protected]>
yperbasis pushed a commit that referenced this pull request Oct 27, 2025
In Go 1.21, the standard library includes built-in
[max/min](https://pkg.go.dev/[email protected]#max) function, which can
greatly simplify the code.

Inspired by #16213 and replace
more.

Signed-off-by: zhetaicheleba <[email protected]>
yperbasis pushed a commit that referenced this pull request Oct 27, 2025
In Go 1.21, the standard library includes built-in
[max/min](https://pkg.go.dev/[email protected]#max) function, which can
greatly simplify the code.

Inspired by #16213 and replace
all.

Signed-off-by: zhetaicheleba <[email protected]>
AskAlexSharov pushed a commit that referenced this pull request Oct 28, 2025
In Go 1.21, the standard library includes built-in
[max/min](https://pkg.go.dev/[email protected]#max) function, which can
greatly simplify the code.


Inspired by #16213 and replace
more.

Signed-off-by: zhetaicheleba <[email protected]>
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