mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
x3dh: Fix remaining bug thanks to cronokirby's eagle vision.
This commit is contained in:
@@ -102,7 +102,7 @@ impl MessageHeader {
|
||||
let mut ret = [0u8; 48];
|
||||
ret[..32].copy_from_slice(&self.dh.to_bytes());
|
||||
ret[32..40].copy_from_slice(&self.pn.to_le_bytes());
|
||||
ret[40..].copy_from_slice(&self.pn.to_le_bytes());
|
||||
ret[40..].copy_from_slice(&self.n.to_le_bytes());
|
||||
ret
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user