add pending_contacts_list and track adverts and path changes

This commit is contained in:
Florent
2025-07-11 10:04:21 +02:00
parent f534b1898b
commit d7de28d7f9
3 changed files with 30 additions and 2 deletions

View File

@@ -294,10 +294,16 @@ class CommandHandler:
else :
out_path_hex = path
out_path_len = int(len(path) / 2)
# reflect the change
contact["out_path"] = out_path_hex
contact["out_path_len"] = out_path_len
out_path_hex = out_path_hex + (128-len(out_path_hex)) * "0"
if flags is None :
flags = contact["flags"]
else :
# reflect the change
contact["flags"] = flags
adv_name_hex = contact["adv_name"].encode().hex()
adv_name_hex = adv_name_hex + (64-len(adv_name_hex)) * "0"