Skip to content

Commit 7ca52f4

Browse files
authored
Merge pull request #6295 from filecoin-project/fix/rename
fix: rename DealAllocation to DealAllocated
2 parents 2893b2a + e4a2745 commit 7ca52f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

venus-shared/types/market/storage.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ type ImportDataResult struct {
152152
type DirectDealState int
153153

154154
const (
155-
DealAllocation DirectDealState = iota + 1
155+
DealAllocated DirectDealState = iota + 1
156156
DealSealing
157157
DealActive
158158
DealExpired
@@ -163,8 +163,8 @@ const (
163163

164164
func (d DirectDealState) String() string {
165165
switch d {
166-
case DealAllocation:
167-
return "DealAllocation"
166+
case DealAllocated:
167+
return "DealAllocated"
168168
// case DealWaitForData:
169169
// return "DealWaitForData"
170170
case DealSealing:

0 commit comments

Comments
 (0)