Correct the number of waiting blocks

This commit is contained in:
Jason 2020-03-19 16:00:42 +08:00
parent 14e387e3ac
commit b96aedd720

View File

@ -100,10 +100,10 @@ var infoCmd = &cli.Command{
lastEps := int64(head.Height() - eps)
lastEpsS := lastEps * build.BlockDelay
fallback := lastEps + build.FallbackPoStDelay
fallback := build.FallbackPoStDelay - lastEps
fallbackS := fallback * build.BlockDelay
next := lastEps + build.SlashablePowerDelay
next := build.SlashablePowerDelay - lastEps
nextS := next * build.BlockDelay
fmt.Printf("PoSt Submissions:\n")