From 9850e786e8b3b8a0001a4166888897cf6445c6ee Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Mon, 1 Mar 2021 23:56:51 -0500 Subject: [PATCH] Add idle to sync stage's String() --- api/api_full.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/api_full.go b/api/api_full.go index 9c967ca32fd..70da6dd8811 100644 --- a/api/api_full.go +++ b/api/api_full.go @@ -862,6 +862,8 @@ const ( func (v SyncStateStage) String() string { switch v { + case StageIdle: + return "idle" case StageHeaders: return "header sync" case StagePersistHeaders: