Add idle to sync stage's String()
This commit is contained in:
parent
191a05da48
commit
9850e786e8
@ -862,6 +862,8 @@ const (
|
|||||||
|
|
||||||
func (v SyncStateStage) String() string {
|
func (v SyncStateStage) String() string {
|
||||||
switch v {
|
switch v {
|
||||||
|
case StageIdle:
|
||||||
|
return "idle"
|
||||||
case StageHeaders:
|
case StageHeaders:
|
||||||
return "header sync"
|
return "header sync"
|
||||||
case StagePersistHeaders:
|
case StagePersistHeaders:
|
||||||
|
Loading…
Reference in New Issue
Block a user