refactor variable names, pool.requests -> pool.requesters

This commit is contained in:
Jae Kwon
2015-10-12 16:39:05 -07:00
parent 5631b1a728
commit fd9f816050
2 changed files with 29 additions and 29 deletions

View File

@ -192,7 +192,7 @@ FOR_LOOP:
case _ = <-switchToConsensusTicker.C:
height, numPending := bcR.pool.GetStatus()
outbound, inbound, _ := bcR.Switch.NumPeers()
log.Info("Consensus ticker", "numPending", numPending, "total", len(bcR.pool.requests),
log.Info("Consensus ticker", "numPending", numPending, "total", len(bcR.pool.requesters),
"outbound", outbound, "inbound", inbound)
if bcR.pool.IsCaughtUp() {
log.Notice("Time to switch to consensus reactor!", "height", height)