fix name length issue

This commit is contained in:
TIBERGHIEN corentin
2026-01-10 20:34:51 +01:00
parent 489669b93d
commit 92f38c9c12
2 changed files with 4 additions and 6 deletions

View File

@@ -44,8 +44,7 @@ pub fn construct_message(
message.extend_from_slice(&a.to_be_bytes());
message.extend_from_slice(&payload);
let signature = sign_message(crypto_pair, &message);
message.extend_from_slice(&signature);
return Some(message);
return Some(signature);
}
PING | OK => {
message.extend_from_slice(&0u16.to_be_bytes());