mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 12:36:48 +00:00
p2p: remove todo comment, as it's unnecessary (#32397)
as metioned in https://github.com/ethereum/go-ethereum/pull/32351, I think this comment is unnecessary.
This commit is contained in:
parent
94ecd1db22
commit
f3467d1e63
1 changed files with 0 additions and 1 deletions
|
|
@ -173,7 +173,6 @@ func (p *Peer) Fullname() string {
|
||||||
|
|
||||||
// Caps returns the capabilities (supported subprotocols) of the remote peer.
|
// Caps returns the capabilities (supported subprotocols) of the remote peer.
|
||||||
func (p *Peer) Caps() []Cap {
|
func (p *Peer) Caps() []Cap {
|
||||||
// TODO: maybe return copy
|
|
||||||
return p.rw.caps
|
return p.rw.caps
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue