Merge pull request #7311 from filecoin-project/feat/minerinfo-more-dealstates

Show more deal states in miner info
This commit is contained in:
Łukasz Magiera 2021-09-10 04:18:00 -07:00 committed by GitHub
commit 20a7193b06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,7 +378,11 @@ func handleMarketsInfo(ctx context.Context, nodeApi api.StorageMiner) error {
showDealStates := map[storagemarket.StorageDealStatus]struct{}{ showDealStates := map[storagemarket.StorageDealStatus]struct{}{
storagemarket.StorageDealActive: {}, storagemarket.StorageDealActive: {},
storagemarket.StorageDealAcceptWait: {},
storagemarket.StorageDealReserveProviderFunds: {},
storagemarket.StorageDealProviderFunding: {},
storagemarket.StorageDealTransferring: {}, storagemarket.StorageDealTransferring: {},
storagemarket.StorageDealValidating: {},
storagemarket.StorageDealStaged: {}, storagemarket.StorageDealStaged: {},
storagemarket.StorageDealAwaitingPreCommit: {}, storagemarket.StorageDealAwaitingPreCommit: {},
storagemarket.StorageDealSealing: {}, storagemarket.StorageDealSealing: {},