File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import (
10
10
cmds "github.com/ipfs/go-ipfs-cmds"
11
11
12
12
"github.com/filecoin-project/venus/app/node"
13
- syncTypes "github.com/filecoin-project/venus/pkg/chainsync/types"
14
13
)
15
14
16
15
var syncCmd = & cmds.Command {
@@ -66,7 +65,7 @@ var storeStatusCmd = &cmds.Command{
66
65
var inSyncing []* types.Target
67
66
var waitTarget []* types.Target
68
67
for _ , t := range targets {
69
- if t .State == types .SyncStateStage ( syncTypes . StateInSyncing ) {
68
+ if t .State == types .StageMessages {
70
69
inSyncing = append (inSyncing , t )
71
70
} else {
72
71
waitTarget = append (waitTarget , t )
Original file line number Diff line number Diff line change @@ -319,6 +319,8 @@ func (v SyncStateStage) String() string {
319
319
return "error"
320
320
case StageFetchingMessages :
321
321
return "fetching messages"
322
+ case StageIdle :
323
+ return "idle"
322
324
default :
323
325
return fmt .Sprintf ("<unknown: %d>" , v )
324
326
}
You can’t perform that action at this time.
0 commit comments