Merge pull request #1431 from luqz/master
Correct the number of waiting blocks
This commit is contained in:
commit
628a598ca0
@ -100,10 +100,10 @@ var infoCmd = &cli.Command{
|
|||||||
lastEps := int64(head.Height() - eps)
|
lastEps := int64(head.Height() - eps)
|
||||||
lastEpsS := lastEps * build.BlockDelay
|
lastEpsS := lastEps * build.BlockDelay
|
||||||
|
|
||||||
fallback := lastEps + build.FallbackPoStDelay
|
fallback := build.FallbackPoStDelay - lastEps
|
||||||
fallbackS := fallback * build.BlockDelay
|
fallbackS := fallback * build.BlockDelay
|
||||||
|
|
||||||
next := lastEps + build.SlashablePowerDelay
|
next := build.SlashablePowerDelay - lastEps
|
||||||
nextS := next * build.BlockDelay
|
nextS := next * build.BlockDelay
|
||||||
|
|
||||||
fmt.Printf("PoSt Submissions:\n")
|
fmt.Printf("PoSt Submissions:\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user