Skip to content

Commit

Permalink
Update lotus.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic-chain authored Jan 12, 2023
1 parent a71b0e7 commit 0634233
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions service/lotus.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,10 @@ func UpdateSwanDealStatus(minerId string, dealId uint64, onChainStatus *string,

UpdateStatusAndLog(deal, DEAL_STATUS_IMPORTED, "deal imported")
default:
if *onChainStatus == "StorageDealPublish" || *onChainStatus == "StorageDealPublishing" {
UpdateStatusAndLog(deal, DEAL_STATUS_IMPORTED, "deal imported")
return
}
UpdateStatusAndLog(deal, deal.Status, *onChainStatus, onChainMessage)
}
}

0 comments on commit 0634233

Please sign in to comment.