mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +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 {
|
||||
select {
|
||||
case err := <-errs:
|
||||
case err, ok := <-errs:
|
||||
if !ok {
|
||||
return nil
|
||||
}
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user