Fix client market impl, gofmt

This commit is contained in:
Łukasz Magiera 2020-02-13 01:15:33 +01:00
parent 8bf95879f7
commit 5a24c2dc5d

View File

@ -107,7 +107,6 @@ func (m *Sealing) handlePreCommitting(ctx statemachine.Context, sector SectorInf
SealEpoch: sector.Ticket.BlockHeight, SealEpoch: sector.Ticket.BlockHeight,
DealIDs: nil, // sector.deals(), // TODO: REFACTOR DealIDs: nil, // sector.deals(), // TODO: REFACTOR
}, },
} }
enc, aerr := actors.SerializeParams(params) enc, aerr := actors.SerializeParams(params)
if aerr != nil { if aerr != nil {
@ -190,7 +189,7 @@ func (m *Sealing) handleCommitting(ctx statemachine.Context, sector SectorInfo)
params := &miner.ProveCommitSectorParams{ params := &miner.ProveCommitSectorParams{
SectorNumber: sector.SectorID, SectorNumber: sector.SectorID,
Proof: abi.SealProof{ProofBytes:proof}, Proof: abi.SealProof{ProofBytes: proof},
} }
enc, aerr := actors.SerializeParams(params) enc, aerr := actors.SerializeParams(params)