Updated dependencies.

This commit is contained in:
Revertron
2022-02-16 21:28:30 +01:00
parent 5cf8fb17f6
commit eec8a2d0a6
4 changed files with 40 additions and 52 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ impl Peer {
&self.cipher
}
pub fn get_nonce(&self) -> &[u8; 12] {
pub fn get_nonce(&self) -> &[u8] {
match &self.cipher {
None => &crate::crypto::ZERO_NONCE,
Some(chacha) => chacha.get_nonce()