Skip to content

core/txpool: improve Add() logic, handle edge case #4500

core/txpool: improve Add() logic, handle edge case

core/txpool: improve Add() logic, handle edge case #4500

Triggered via pull request November 13, 2024 14:19
Status Failure
Total duration 3m 29s
Artifacts

lint.yml

on: pull_request
Matrix: golang-lint
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
golang-lint (1.21.x, ubuntu-latest): core/txpool/legacypool/legacypool.go#L2100
func `(*LegacyPool).availableSlotsOverflowPool` is unused (unused)
golang-lint (1.21.x, ubuntu-latest): core/txpool/legacypool/tx_overflowpool_test.go#L179
ineffectual assignment to initialTotalSize (ineffassign)
golang-lint (1.21.x, ubuntu-latest)
issues found
golang-lint (1.21.x, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, actions/cache@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/