Some code missed in the last commit ಠ_ಠ

This commit is contained in:
Matt Joiner 2015-09-06 12:35:56 +10:00
parent eebd09c0fe
commit 313adf1d2f
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ import (
"github.com/anacrolix/missinggo"
. "github.com/anacrolix/missinggo"
"github.com/anacrolix/missinggo/perf"
"github.com/anacrolix/missinggo/pubsub"
"github.com/anacrolix/sync"
"github.com/anacrolix/utp"
"github.com/bradfitz/iter"
@ -116,6 +117,7 @@ func (cl *Client) queuePieceCheck(t *torrent, pieceIndex pp.Integer) {
return
}
piece.QueuedForHash = true
t.publishPieceChange(int(pieceIndex))
go cl.verifyPiece(t, pieceIndex)
}