gofmt
This commit is contained in:
parent
9b5968f170
commit
68eb35e0f4
@ -52,14 +52,14 @@ func (m *Sealing) pledgeSector(ctx context.Context, sectorID abi.SectorNumber, e
|
|||||||
PieceSize: size.Padded(),
|
PieceSize: size.Padded(),
|
||||||
Client: m.worker,
|
Client: m.worker,
|
||||||
Provider: m.maddr,
|
Provider: m.maddr,
|
||||||
StartEpoch: math.MaxInt64,
|
StartEpoch: math.MaxInt64,
|
||||||
EndEpoch: math.MaxInt64,
|
EndEpoch: math.MaxInt64,
|
||||||
StoragePricePerEpoch: types.NewInt(0),
|
StoragePricePerEpoch: types.NewInt(0),
|
||||||
ProviderCollateral: types.NewInt(0),
|
ProviderCollateral: types.NewInt(0),
|
||||||
}
|
}
|
||||||
|
|
||||||
deals[i] = market.ClientDealProposal{
|
deals[i] = market.ClientDealProposal{
|
||||||
Proposal: sdp,
|
Proposal: sdp,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
utils.go
2
utils.go
@ -71,7 +71,7 @@ func (m *Sealing) fastPledgeCommitment(size abi.UnpaddedPieceSize, parts uint64)
|
|||||||
err = multierror.Append(err, perr)
|
err = multierror.Append(err, perr)
|
||||||
}
|
}
|
||||||
out[i] = sectorbuilder.PublicPieceInfo{
|
out[i] = sectorbuilder.PublicPieceInfo{
|
||||||
Size: uint64(piece),
|
Size: uint64(piece),
|
||||||
CommP: commP,
|
CommP: commP,
|
||||||
}
|
}
|
||||||
lk.Unlock()
|
lk.Unlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user