Fix download secret key method of downloader (#2067)

This commit is contained in:
Jonathan Zernik 2022-03-29 17:54:57 -07:00 committed by GitHub
parent ad47244d7a
commit 4e01bf208c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ class PeerDownloader(ABC):
self.squeak_store.save_squeak(squeak)
def download_secret_key(self, squeak_hash: bytes) -> None:
squeak = self.client.get_squeak(squeak_hash)
squeak = self.squeak_store.get_squeak(squeak_hash)
# Download the squeak if not already owned.
if not squeak: