p2p: remove "cap" enr entry (#19800)
This entry was an experiment, but we're moving on to the entry-per-protocol instead.
This commit is contained in:
committed by
Péter Szilágyi
parent
22060611fb
commit
cc0f0e27a6
@ -488,7 +488,6 @@ func (srv *Server) setupLocalNode() error {
|
||||
srv.nodedb = db
|
||||
srv.localnode = enode.NewLocalNode(db, srv.PrivateKey)
|
||||
srv.localnode.SetFallbackIP(net.IP{127, 0, 0, 1})
|
||||
srv.localnode.Set(capsByNameAndVersion(srv.ourHandshake.Caps))
|
||||
// TODO: check conflicts
|
||||
for _, p := range srv.Protocols {
|
||||
for _, e := range p.Attributes {
|
||||
|
Reference in New Issue
Block a user