mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
Fix query for downloading peers
This commit is contained in:
parent
7a7797db3c
commit
f878efce1e
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ flask-cors
|
|||
flask-login
|
||||
Flask-WTF
|
||||
googleapis-common-protos
|
||||
grpcio==1.34.0
|
||||
grpcio
|
||||
grpcio-tools
|
||||
importlib_resources==1.4.0
|
||||
mypy-protobuf
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ class NetworkSync(ABC):
|
|||
class DownloadSync(NetworkSync):
|
||||
|
||||
def get_peers_to_sync(self):
|
||||
return self.squeak_controller.get_uploading_peers()
|
||||
return self.squeak_controller.get_downloading_peers()
|
||||
|
||||
@abstractmethod
|
||||
def sync_peer(self, peer_sync_task):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue