Skip to content

Commit

Permalink
fix(su): fix accidental signature type mod from deep hash commit
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceJuliano committed Jan 18, 2025
1 parent 53f7f68 commit ea0fd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/su/src/domain/core/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ impl DataItem {
ByteErrorType::ByteError(format!("data length error - {} ", err.to_string()))
})?);

let sig_type: [u8; 2] = (1 as u16).to_le_bytes();
let sig_type: [u8; 2] = (self.signature_type.clone() as u16).to_le_bytes();
let target_presence_byte = if self.target.is_empty() {
&[0u8]
} else {
Expand Down

0 comments on commit ea0fd72

Please sign in to comment.