mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: add update ENR trace (#2394)
This commit is contained in:
@ -506,6 +506,7 @@ impl Discv4Service {
|
||||
info!(target : "discv4", ?external_ip, "Updating external ip");
|
||||
self.local_node_record.address = external_ip;
|
||||
let _ = self.local_eip_868_enr.set_ip(external_ip, &self.secret_key);
|
||||
info!(target : "discv4", enr=?self.local_eip_868_enr, "Updated local ENR");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user