From c562fabbbd7e2f63c254906554ad8bd9c6164f47 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sun, 22 Apr 2018 20:56:20 -0500 Subject: [PATCH] removed bytes conversion on downloadblock data --- onionr/communicator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/communicator.py b/onionr/communicator.py index 91e85fe4..19948c06 100755 --- a/onionr/communicator.py +++ b/onionr/communicator.py @@ -245,7 +245,7 @@ class OnionrCommunicate: data = b'' if data == False or len(data) > 10000000: continue - hasher.update(data.encode()) + hasher.update(data) digest = hasher.hexdigest() if type(digest) is bytes: digest = digest.decode()