Merge pull request #1431 from luqz/master

Correct the number of waiting blocks
This commit is contained in:
Łukasz Magiera 2020-03-20 22:18:38 +01:00 committed by GitHub
commit 628a598ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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")