mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
downloader: verify fixempty (#9161)
This commit is contained in:
parent
19b9504039
commit
36fefbbee1
@ -229,7 +229,9 @@ func Downloader(ctx context.Context, logger log.Logger) error {
|
||||
}
|
||||
defer grpcServer.GracefulStop()
|
||||
|
||||
if len(_verifyFiles) > 0 {
|
||||
verifyFiles = strings.Split(_verifyFiles, ",")
|
||||
}
|
||||
if verify || verifyFailfast || len(verifyFiles) > 0 { // remove and create .torrent files (will re-read all snapshots)
|
||||
if err = d.VerifyData(ctx, verifyFiles, verifyFailfast); err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user