mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
p2p: change "ok" to "added" in static node log
This commit is contained in:
parent
3c49d09bbe
commit
6353685608
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ loop:
|
||||||
case node := <-d.addStaticCh:
|
case node := <-d.addStaticCh:
|
||||||
id := node.ID()
|
id := node.ID()
|
||||||
_, exists := d.static[id]
|
_, exists := d.static[id]
|
||||||
d.log.Trace("Adding static node", "id", id, "ip", node.IP(), "ok", !exists)
|
d.log.Trace("Adding static node", "id", id, "ip", node.IP(), "added", !exists)
|
||||||
if exists {
|
if exists {
|
||||||
continue loop
|
continue loop
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue