mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: set local enr in nodeInfo (#7543)
This commit is contained in:
@ -99,7 +99,7 @@ where
|
||||
id: B256::from_slice(&enode.id.as_slice()[..32]),
|
||||
name: status.client_version,
|
||||
enode: enode.to_string(),
|
||||
enr: "".to_string(),
|
||||
enr: self.network.local_enr().to_string(),
|
||||
ip: enode.address,
|
||||
ports: Ports { discovery: enode.udp_port, listener: enode.tcp_port },
|
||||
listen_addr: enode.tcp_addr(),
|
||||
|
||||
Reference in New Issue
Block a user