This commit is contained in:
Łukasz Magiera
2020-08-04 19:07:31 +02:00
parent adee59c795
commit e4f475ee59
4 changed files with 20 additions and 21 deletions
+11 -11
View File
@@ -1038,17 +1038,17 @@ var clientListDeals = &cli.Command{
price := types.FIL(types.BigMul(d.LocalDeal.PricePerEpoch, types.NewInt(d.LocalDeal.Duration)))
w.Write(map[string]interface{}{
"DealCid": propcid,
"DealId":d.LocalDeal.DealID,
"Provider":d.LocalDeal.Provider,
"State":dealStateString(color, d.LocalDeal.State),
"On Chain?":onChain,
"Slashed?":slashed,
"PieceCID":piece,
"Size":types.SizeStr(types.NewInt(d.LocalDeal.Size)),
"Price":price,
"Duration":d.LocalDeal.Duration,
"Message":d.LocalDeal.Message,
"DealCid": propcid,
"DealId": d.LocalDeal.DealID,
"Provider": d.LocalDeal.Provider,
"State": dealStateString(color, d.LocalDeal.State),
"On Chain?": onChain,
"Slashed?": slashed,
"PieceCID": piece,
"Size": types.SizeStr(types.NewInt(d.LocalDeal.Size)),
"Price": price,
"Duration": d.LocalDeal.Duration,
"Message": d.LocalDeal.Message,
})
}