ava-labs / avalanchego

Go implementation of an Avalanche node.
https://avax.network
BSD 3-Clause "New" or "Revised" License
2.09k stars 646 forks source link

Remove deadcode #3086

Open dhrubabasu opened 3 weeks ago

dhrubabasu commented 3 weeks ago

Why this should be merged

s/o @darioush for pointing out this tool

go install golang.org/x/tools/cmd/deadcode@latest
deadcode -test ./...

How this works

Removes some deadcode. There may be more from that tool but these are the ones I feel comfortable with removing.

How this was tested

CI