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}}
return DealProposal{
PieceCID : v{{.v}}.PieceCID,
PieceSize : v{{.v}}.PieceSize,
VerifiedDeal :v{{.v}}.VerifiedDeal,
Client :v{{.v}}.Client,
Provider :v{{.v}}.Provider,
PieceCID: v{{.v}}.PieceCID,
PieceSize: v{{.v}}.PieceSize,
VerifiedDeal: v{{.v}}.VerifiedDeal,
Client: v{{.v}}.Client,
Provider: v{{.v}}.Provider,
Label: label,
StartEpoch : v{{.v}}.StartEpoch,
EndEpoch :v{{.v}}.EndEpoch,
StoragePricePerEpoch :v{{.v}}.StoragePricePerEpoch,
StartEpoch: v{{.v}}.StartEpoch,
EndEpoch: v{{.v}}.EndEpoch,
StoragePricePerEpoch: v{{.v}}.StoragePricePerEpoch,
ProviderCollateral :v{{.v}}.ProviderCollateral,
ClientCollateral :v{{.v}}.ClientCollateral,
ProviderCollateral: v{{.v}}.ProviderCollateral,
ClientCollateral: v{{.v}}.ClientCollateral,
}, nil
}