Verify the hash of the fetched blob

This commit is contained in:
Cheng Guo
2018-05-09 21:18:44 +02:00
committed by Pedro Ferreira
parent b26b56632f
commit 166914144d
2 changed files with 6 additions and 1 deletions

View File

@@ -135,7 +135,6 @@ class PacketStream(object):
if not header or header == b'\x00' * 9:
return
flags, length, req = struct.unpack('>BIi', header)
logger.debug('flags=%s length=%s req=%s', flags, length, req)
n_packets = ceil(length / 4096)