p2p: remove todo comment, as it's unnecessary (#32397)
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run

as metioned in https://github.com/ethereum/go-ethereum/pull/32351, I
think this comment is unnecessary.
This commit is contained in:
cui 2025-08-22 05:48:46 +08:00 committed by GitHub
parent 94ecd1db22
commit f3467d1e63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -173,7 +173,6 @@ func (p *Peer) Fullname() string {
// Caps returns the capabilities (supported subprotocols) of the remote peer.
func (p *Peer) Caps() []Cap {
// TODO: maybe return copy
return p.rw.caps
}