gofmt
This commit is contained in:
parent
495b4ba841
commit
59ec727191
@ -154,9 +154,9 @@ func (evt SectorChainPreCommitFailed) FormatError(xerrors.Printer) (next error)
|
|||||||
func (evt SectorChainPreCommitFailed) apply(*SectorInfo) {}
|
func (evt SectorChainPreCommitFailed) apply(*SectorInfo) {}
|
||||||
|
|
||||||
type SectorPreCommitted struct {
|
type SectorPreCommitted struct {
|
||||||
Message cid.Cid
|
Message cid.Cid
|
||||||
PreCommitDeposit big.Int
|
PreCommitDeposit big.Int
|
||||||
PreCommitInfo miner.SectorPreCommitInfo
|
PreCommitInfo miner.SectorPreCommitInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
func (evt SectorPreCommitted) apply(state *SectorInfo) {
|
func (evt SectorPreCommitted) apply(state *SectorInfo) {
|
||||||
|
@ -189,7 +189,7 @@ func (m *Sealing) handlePreCommitting(ctx statemachine.Context, sector SectorInf
|
|||||||
return ctx.Send(SectorChainPreCommitFailed{xerrors.Errorf("pushing message to mpool: %w", err)})
|
return ctx.Send(SectorChainPreCommitFailed{xerrors.Errorf("pushing message to mpool: %w", err)})
|
||||||
}
|
}
|
||||||
|
|
||||||
return ctx.Send(SectorPreCommitted{Message: mcid, PreCommitDeposit: deposit, PreCommitInfo: *params})
|
return ctx.Send(SectorPreCommitted{Message: mcid, PreCommitDeposit: deposit, PreCommitInfo: *params})
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Sealing) handlePreCommitWait(ctx statemachine.Context, sector SectorInfo) error {
|
func (m *Sealing) handlePreCommitWait(ctx statemachine.Context, sector SectorInfo) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user