p2p: change "ok" to "added" in static node log

This commit is contained in:
Felix Lange 2020-01-28 13:52:27 +01:00
parent 3c49d09bbe
commit 6353685608

View file

@ -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
} }