Merge pull request #38 from hubertmis/fix-block2-payload
Fix payload transmitted in Block2 transfer
This commit is contained in:
commit
a07ab65dd2
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class BlockLayer(object):
|
||||||
del transaction.request.block2
|
del transaction.request.block2
|
||||||
else:
|
else:
|
||||||
# early negotiation
|
# early negotiation
|
||||||
byte = 0
|
byte = num * size
|
||||||
self._block2_receive[key_token] = BlockItem(byte, num, m, size)
|
self._block2_receive[key_token] = BlockItem(byte, num, m, size)
|
||||||
del transaction.request.block2
|
del transaction.request.block2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue