diff --git a/cmd/lotus-shed/postfind.go b/cmd/lotus-shed/postfind.go index af6b6517d..57a163c42 100644 --- a/cmd/lotus-shed/postfind.go +++ b/cmd/lotus-shed/postfind.go @@ -55,7 +55,7 @@ var postFindCmd = &cli.Command{ return err } } - oneDayAgo := ts.Height() - abi.ChainEpoch(2880) + oneDayAgo := ts.Height() - abi.ChainEpoch(c.Int("lookback")) if verbose { fmt.Printf("Collecting messages between %d and %d\n", ts.Height(), oneDayAgo) }