Merge pull request #5702 from filecoin-project/asr/sync-stage-string

Add idle to sync stage's String()
This commit is contained in:
Łukasz Magiera 2021-03-02 13:47:17 +01:00 committed by GitHub
commit cd1a2e3413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -870,6 +870,8 @@ const (
func (v SyncStateStage) String() string {
switch v {
case StageIdle:
return "idle"
case StageHeaders:
return "header sync"
case StagePersistHeaders: