removed bytes conversion on downloadblock data

This commit is contained in:
Kevin Froman 2018-04-22 20:56:20 -05:00
parent 23d092fb94
commit c562fabbbd
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 1 additions and 1 deletions

View File

@ -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()