OSDN Git Service

fix
authorHAOYUatHZ <haoyu@protonmail.com>
Wed, 14 Aug 2019 06:08:33 +0000 (14:08 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Wed, 14 Aug 2019 06:08:33 +0000 (14:08 +0800)
toolbar/precog/monitor/monitor.go

index 6e29241..673f672 100644 (file)
@@ -218,6 +218,7 @@ func (m *monitor) checkStatusRoutine() {
        ticker := time.NewTicker(time.Duration(m.cfg.CheckFreqSeconds) * time.Second)
        for ; true; <-ticker.C {
                log.Debug("p2p.peer list", m.sw.GetPeers().List())
+               // TODO: SFSPV?
                log.Info("best", peers.BestPeer(consensus.SFFullNode))
        }
 }