Merge pull request #4276 from filecoin-project/steb/fix-bad-error
return the correct err from iterFullTipset
This commit is contained in:
commit
3cb1abba4f
@ -1526,7 +1526,7 @@ func (syncer *Syncer) iterFullTipsets(ctx context.Context, headers []*types.TipS
|
|||||||
ss.SetStage(api.StageMessages)
|
ss.SetStage(api.StageMessages)
|
||||||
|
|
||||||
if batchErr != nil {
|
if batchErr != nil {
|
||||||
return xerrors.Errorf("failed to fetch messages: %w", err)
|
return xerrors.Errorf("failed to fetch messages: %w", batchErr)
|
||||||
}
|
}
|
||||||
|
|
||||||
for bsi := 0; bsi < len(bstout); bsi++ {
|
for bsi := 0; bsi < len(bstout); bsi++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user