forked from LBRYCommunity/lbry-sdk
fix where it called the wrong score method
This commit is contained in:
parent
7d7dd665aa
commit
4d720370b1
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