From e4a27451f8514980e4ed945f33318fe49fc3069b Mon Sep 17 00:00:00 2001 From: simlecode <69969590+simlecode@users.noreply.github.com> Date: Wed, 20 Mar 2024 14:23:19 +0800 Subject: [PATCH] fix: rename DealAllocation to DealAllocated --- venus-shared/types/market/storage.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/venus-shared/types/market/storage.go b/venus-shared/types/market/storage.go index 4b652c7cdc..5e341ad801 100644 --- a/venus-shared/types/market/storage.go +++ b/venus-shared/types/market/storage.go @@ -152,7 +152,7 @@ type ImportDataResult struct { type DirectDealState int const ( - DealAllocation DirectDealState = iota + 1 + DealAllocated DirectDealState = iota + 1 DealSealing DealActive DealExpired @@ -163,8 +163,8 @@ const ( func (d DirectDealState) String() string { switch d { - case DealAllocation: - return "DealAllocation" + case DealAllocated: + return "DealAllocated" // case DealWaitForData: // return "DealWaitForData" case DealSealing: