Some code missed in the last commit ಠ_ಠ
This commit is contained in:
parent
eebd09c0fe
commit
313adf1d2f
|
@ -25,6 +25,7 @@ import (
|
||||||
"github.com/anacrolix/missinggo"
|
"github.com/anacrolix/missinggo"
|
||||||
. "github.com/anacrolix/missinggo"
|
. "github.com/anacrolix/missinggo"
|
||||||
"github.com/anacrolix/missinggo/perf"
|
"github.com/anacrolix/missinggo/perf"
|
||||||
|
"github.com/anacrolix/missinggo/pubsub"
|
||||||
"github.com/anacrolix/sync"
|
"github.com/anacrolix/sync"
|
||||||
"github.com/anacrolix/utp"
|
"github.com/anacrolix/utp"
|
||||||
"github.com/bradfitz/iter"
|
"github.com/bradfitz/iter"
|
||||||
|
@ -116,6 +117,7 @@ func (cl *Client) queuePieceCheck(t *torrent, pieceIndex pp.Integer) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
piece.QueuedForHash = true
|
piece.QueuedForHash = true
|
||||||
|
t.publishPieceChange(int(pieceIndex))
|
||||||
go cl.verifyPiece(t, pieceIndex)
|
go cl.verifyPiece(t, pieceIndex)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue