Merge remote-tracking branch 'origin' into bigfix

This commit is contained in:
TIBERGHIEN corentin
2026-01-25 03:46:19 +01:00
6 changed files with 435 additions and 353 deletions

View File

@@ -314,7 +314,7 @@ pub fn parse_message(
ERROR => {
if let Ok(err_received) =
String::from_utf8(received_message[LENGTH..(msg_length + LENGTH + 4)].to_vec())
String::from_utf8(received_message[LENGTH..(msg_length + LENGTH)].to_vec())
{
let err_msg = format!("Error received from peer {} : {}", ip, err_received);
let _ = cmd_tx_clone.send(NetworkEvent::Error(err_msg, "".to_owned()));