Merge pull request #1305 from lbryio/fix_score_call
fix where it called the wrong score method
This commit is contained in:
commit
75829812f3
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ class AvailabilityRequest(RequestHelper):
|
|||
blob_hashes = response_dict['available_blobs']
|
||||
if not blob_hashes:
|
||||
# should not send any more requests as it doesnt have any blob we need
|
||||
self.peer.update_score(-10.0)
|
||||
self.update_local_score(-10.0)
|
||||
return True
|
||||
for blob_hash in blob_hashes:
|
||||
if blob_hash in request.request_dict['requested_blobs']:
|
||||
|
|
Loading…
Reference in a new issue