mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-27 10:08:10 -07:00
Fixed resource sequencing fail handling.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user