Skip to content

Commit

Permalink
Merge pull request #5702 from filecoin-project/asr/sync-stage-string
Browse files Browse the repository at this point in the history
Add idle to sync stage's String()
  • Loading branch information
magik6k committed Mar 2, 2021
2 parents 5764269 + 9850e78 commit cd1a2e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/api_full.go
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,8 @@ const (

func (v SyncStateStage) String() string {
switch v {
case StageIdle:
return "idle"
case StageHeaders:
return "header sync"
case StagePersistHeaders:
Expand Down

0 comments on commit cd1a2e3

Please sign in to comment.