pond: List client deals

This commit is contained in:
Łukasz Magiera
2019-09-13 19:59:10 +02:00
parent 1fc7a48759
commit c121d9b8af
4 changed files with 66 additions and 6 deletions
+8 -1
View File
@@ -128,7 +128,14 @@ func (a *ClientAPI) ClientListDeals(ctx context.Context) ([]api.DealInfo, error)
out[k] = api.DealInfo{
ProposalCid: v.ProposalCid,
State: v.State,
Miner: v.Miner,
Miner: v.Proposal.MinerAddress,
PieceRef: v.Proposal.PieceRef,
CommP: v.Proposal.CommP,
Size: v.Proposal.Size,
TotalPrice: v.Proposal.TotalPrice,
Duration: v.Proposal.Duration,
}
}