From 448ca6e43c9252af6e06a9516a8f845a85b4e7c8 Mon Sep 17 00:00:00 2001 From: ZenGround0 Date: Tue, 13 Oct 2020 00:16:51 -0400 Subject: [PATCH] less verbose --- cmd/lotus-shed/postfind.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/lotus-shed/postfind.go b/cmd/lotus-shed/postfind.go index 6fea6a69e..2ac5af730 100644 --- a/cmd/lotus-shed/postfind.go +++ b/cmd/lotus-shed/postfind.go @@ -90,7 +90,7 @@ var postFindCmd = &cli.Command{ fmt.Printf("Loaded %d miners with power\n", len(minersWithPower)) postedMiners := make(map[address.Address]struct{}) - for i, msg := range msgs { + for _, msg := range msgs { _, hasPower := minersWithPower[msg.To] _, seenBefore := postedMiners[msg.To] @@ -100,9 +100,6 @@ var postFindCmd = &cli.Command{ postedMiners[msg.To] = struct{}{} } } - if verbose && int64(i)%1000 == 0 { - fmt.Printf("Searched through message %d of %d\n", i, len(msgs)) - } } return nil },