mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-31 16:21:21 +00:00
downloader: nil ptr verify (#5833)
This commit is contained in:
parent
f2eee19de0
commit
8641d81511
@ -208,6 +208,7 @@ func (d *Downloader) verify() error {
|
||||
wg.Add(1)
|
||||
go func(t *torrent.Torrent) {
|
||||
defer wg.Done()
|
||||
<-t.GotInfo()
|
||||
for i := 0; i < t.NumPieces(); i++ {
|
||||
j.Inc()
|
||||
t.Piece(i).VerifyData()
|
||||
|
Loading…
Reference in New Issue
Block a user