less verbose

This commit is contained in:
ZenGround0 2020-10-13 00:16:51 -04:00
parent c9955c0635
commit 448ca6e43c

View File

@ -90,7 +90,7 @@ var postFindCmd = &cli.Command{
fmt.Printf("Loaded %d miners with power\n", len(minersWithPower)) fmt.Printf("Loaded %d miners with power\n", len(minersWithPower))
postedMiners := make(map[address.Address]struct{}) postedMiners := make(map[address.Address]struct{})
for i, msg := range msgs { for _, msg := range msgs {
_, hasPower := minersWithPower[msg.To] _, hasPower := minersWithPower[msg.To]
_, seenBefore := postedMiners[msg.To] _, seenBefore := postedMiners[msg.To]
@ -100,9 +100,6 @@ var postFindCmd = &cli.Command{
postedMiners[msg.To] = struct{}{} postedMiners[msg.To] = struct{}{}
} }
} }
if verbose && int64(i)%1000 == 0 {
fmt.Printf("Searched through message %d of %d\n", i, len(msgs))
}
} }
return nil return nil
}, },