mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
snap indexing: fix logging #4937
This commit is contained in:
parent
dfa77ac871
commit
05e5634653
@ -794,7 +794,10 @@ func BuildMissedIndices(ctx context.Context, dir string, chainID uint256.Int, tm
|
|||||||
|
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
case err := <-errs:
|
case err, ok := <-errs:
|
||||||
|
if !ok {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user