lotus-shed: post-find use lookback
This commit is contained in:
parent
619ee1e6f9
commit
20c57fcd0e
@ -55,7 +55,7 @@ var postFindCmd = &cli.Command{
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
oneDayAgo := ts.Height() - abi.ChainEpoch(2880)
|
oneDayAgo := ts.Height() - abi.ChainEpoch(c.Int("lookback"))
|
||||||
if verbose {
|
if verbose {
|
||||||
fmt.Printf("Collecting messages between %d and %d\n", ts.Height(), oneDayAgo)
|
fmt.Printf("Collecting messages between %d and %d\n", ts.Height(), oneDayAgo)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user