client.go | 2 ++ diff --git a/client.go b/client.go index 0707b8eae34ec47ed542f882309586a23fbd7229..7cb58efe168bb65d07f5d648e8623bb26c9687df 100644 --- a/client.go +++ b/client.go @@ -25,6 +25,7 @@ "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 @@ if piece.QueuedForHash { return } piece.QueuedForHash = true + t.publishPieceChange(int(pieceIndex)) go cl.verifyPiece(t, pieceIndex) }