p2p: remove todo comment, as it's unnecessary

https://github.com/ethereum/go-ethereum/pull/32351
This commit is contained in:
cuiweixie 2025-08-12 09:06:40 +08:00
parent cbbf686ecc
commit ce8d313d81

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
}