Commit 5262f00f authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

Update op-node/p2p/host.go

Co-authored-by: default avatarprotolambda <proto@protolambda.com>
parent b7af2ac8
...@@ -92,7 +92,7 @@ func (e *extraHost) monitorStaticPeers() { ...@@ -92,7 +92,7 @@ func (e *extraHost) monitorStaticPeers() {
ctx, cancel := context.WithTimeout(context.Background(), time.Second*30) ctx, cancel := context.WithTimeout(context.Background(), time.Second*30)
var wg sync.WaitGroup var wg sync.WaitGroup
e.log.Debug("polling static peers") e.log.Debug("polling static peers", "peers", len(e.staticPeers))
for _, addr := range e.staticPeers { for _, addr := range e.staticPeers {
connectedness := e.Network().Connectedness(addr.ID) connectedness := e.Network().Connectedness(addr.ID)
e.log.Trace("static peer connectedness", "peer", addr.ID, "connectedness", connectedness) e.log.Trace("static peer connectedness", "peer", addr.ID, "connectedness", connectedness)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment