From 8fffaa5c47518c5949ba9f43d522d3df11b0e649 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Sat, 12 Jun 2021 11:51:35 -0700 Subject: [PATCH] fix(lotus-sim): average over 2 days There's too much noise per day. --- cmd/lotus-sim/info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-sim/info.go b/cmd/lotus-sim/info.go index 591e35c80..82e531015 100644 --- a/cmd/lotus-sim/info.go +++ b/cmd/lotus-sim/info.go @@ -45,7 +45,7 @@ func printInfo(ctx context.Context, sim *simulation.Simulation, out io.Writer) e if err != nil { return err } - powerLookbackEpoch := head.Height() - builtin.EpochsInDay + powerLookbackEpoch := head.Height() - builtin.EpochsInDay*2 if powerLookbackEpoch < start.Height() { powerLookbackEpoch = start.Height() }