swarm/network/stream: use Debug instead Error for log in runSyncTest

This commit is contained in:
Janos Guljas 2018-04-10 15:03:47 +02:00
parent 0d7bc1ce9c
commit e38c5353b3

View file

@ -252,8 +252,8 @@ func runSyncTest(chunkCount int, nodeCount int, live bool, history bool) error {
//call Healthy RPC //call Healthy RPC
h := r.delivery.overlay.Healthy(pp) h := r.delivery.overlay.Healthy(pp)
//print info //print info
log.Error(r.delivery.overlay.String()) log.Debug(r.delivery.overlay.String())
log.Error(fmt.Sprintf("IS HEALTHY: %t", h.GotNN && h.KnowNN && h.Full)) log.Debug(fmt.Sprintf("IS HEALTHY: %t", h.GotNN && h.KnowNN && h.Full))
if !h.GotNN || !h.Full { if !h.GotNN || !h.Full {
healthy = false healthy = false
break break