From b964a8d3c08699e8f2b1fc5543a443af28d5eabd Mon Sep 17 00:00:00 2001 From: Whyrusleeping Date: Thu, 10 Oct 2019 12:37:29 +0900 Subject: [PATCH] Update chain/sync.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Ɓukasz Magiera --- chain/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/sync.go b/chain/sync.go index 62dea456b..77c02deff 100644 --- a/chain/sync.go +++ b/chain/sync.go @@ -661,7 +661,7 @@ loop: } for _, bc := range b.Cids() { if syncer.bad.Has(bc) { - return nil, xerrors.Errorf("(chain contained block marked previously as bad (%s, %s)", from.Cids(), bc) + return nil, xerrors.Errorf("chain contained block marked previously as bad (%s, %s)", from.Cids(), bc) } } blockSet = append(blockSet, b)