mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 23:40:18 +00:00
Fixed resource sequencing fail handling.
This commit is contained in:
parent
0a0d0af821
commit
1fd59f1a02
@ -699,6 +699,7 @@ class Resource:
|
|||||||
if part_index % ResourceAdvertisement.HASHMAP_MAX_LEN != 0:
|
if part_index % ResourceAdvertisement.HASHMAP_MAX_LEN != 0:
|
||||||
RNS.log("Resource sequencing error, cancelling transfer!", RNS.LOG_ERROR)
|
RNS.log("Resource sequencing error, cancelling transfer!", RNS.LOG_ERROR)
|
||||||
self.cancel()
|
self.cancel()
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
segment = part_index // ResourceAdvertisement.HASHMAP_MAX_LEN
|
segment = part_index // ResourceAdvertisement.HASHMAP_MAX_LEN
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user