less wonky market/state.go.template

This commit is contained in:
vyzo 2022-04-12 10:02:19 +03:00
parent 508c06092d
commit 1643ec4fe9

View File

@ -256,20 +256,20 @@ func fromV{{.v}}DealProposal(v{{.v}} market{{.v}}.DealProposal) (DealProposal, e
{{end}} {{end}}
return DealProposal{ return DealProposal{
PieceCID : v{{.v}}.PieceCID, PieceCID: v{{.v}}.PieceCID,
PieceSize : v{{.v}}.PieceSize, PieceSize: v{{.v}}.PieceSize,
VerifiedDeal :v{{.v}}.VerifiedDeal, VerifiedDeal: v{{.v}}.VerifiedDeal,
Client :v{{.v}}.Client, Client: v{{.v}}.Client,
Provider :v{{.v}}.Provider, Provider: v{{.v}}.Provider,
Label: label, Label: label,
StartEpoch : v{{.v}}.StartEpoch, StartEpoch: v{{.v}}.StartEpoch,
EndEpoch :v{{.v}}.EndEpoch, EndEpoch: v{{.v}}.EndEpoch,
StoragePricePerEpoch :v{{.v}}.StoragePricePerEpoch, StoragePricePerEpoch: v{{.v}}.StoragePricePerEpoch,
ProviderCollateral :v{{.v}}.ProviderCollateral, ProviderCollateral: v{{.v}}.ProviderCollateral,
ClientCollateral :v{{.v}}.ClientCollateral, ClientCollateral: v{{.v}}.ClientCollateral,
}, nil }, nil
} }