sectors: Correctly set CommitMessage

This commit is contained in:
Łukasz Magiera 2020-01-13 18:18:52 +01:00
parent e06c19b51c
commit 2fea9433d8

View File

@ -142,6 +142,7 @@ func (m *Miner) plan(events []evtsm.Event, state *SectorInfo) (func(evtsm.Contex
state.State = api.SealFailed
case SectorCommitted:
state.Proof = event.proof
state.CommitMessage = &event.message
state.State = api.CommitWait
case SectorProving:
state.State = api.Proving