now update block datasaved stat when saved

master
Kevin Froman 2018-01-28 20:12:36 -06:00
parent 8d41f9f3d5
commit 55aa889bd9
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class OnionrCommunicate:
continue
hasher.update(data.encode())
digest = hasher.hexdigest()
if digest is bytes:
if type(digest) is bytes:
digest = digest.decode()
if digest == hash.strip():
self._core.setData(data)