From ce8d313d81e0047383fb19efbd1a5e793e02668f Mon Sep 17 00:00:00 2001 From: cuiweixie Date: Tue, 12 Aug 2025 09:06:40 +0800 Subject: [PATCH] p2p: remove todo comment, as it's unnecessary https://github.com/ethereum/go-ethereum/pull/32351 --- p2p/peer.go | 1 - 1 file changed, 1 deletion(-) diff --git a/p2p/peer.go b/p2p/peer.go index 9a0a750ac8b..5521889f30d 100644 --- a/p2p/peer.go +++ b/p2p/peer.go @@ -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 }