storage: set ppe in beginPosting

This commit is contained in:
Łukasz Magiera 2019-10-01 00:56:23 +02:00
parent d7562d8716
commit 6ffa4b164e

View File

@ -39,7 +39,8 @@ func (m *Miner) beginPosting(ctx context.Context) {
// height needs to be +1, because otherwise we'd be trying to schedule PoSt
// at current block height
m.schedPost, _ = actors.ProvingPeriodEnd(ppe, ts.Height()+1)
ppe, _ = actors.ProvingPeriodEnd(ppe, ts.Height()+1)
m.schedPost = ppe
m.schedLk.Unlock()