lotus-shed: post-find use lookback

This commit is contained in:
Travis Person 2020-10-13 19:00:37 +00:00
parent 619ee1e6f9
commit 20c57fcd0e

View File

@ -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)
}