Merge pull request #2902 from filecoin-project/asr/error-fix

Fix error message
This commit is contained in:
Whyrusleeping
2020-08-07 13:38:07 -07:00
committed by GitHub
+1 -1
View File
@@ -1353,7 +1353,7 @@ func (syncer *Syncer) syncFork(ctx context.Context, incoming *types.TipSet, know
if !syncer.Genesis.Equals(nts) {
return nil, xerrors.Errorf("somehow synced chain that linked back to a different genesis (bad genesis: %s)", nts.Key())
}
return nil, xerrors.Errorf("synced chain forked at genesis, refusing to sync; incoming: %s")
return nil, xerrors.Errorf("synced chain forked at genesis, refusing to sync; incoming: %s", incoming.Cids())
}
if nts.Equals(tips[cur]) {