Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
codabrink committed Jan 22, 2025
1 parent 0d7aa2c commit 6f37207
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xmtp_mls/src/groups/device_sync/backup/backup_exporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ impl BackupExporter {
provider: &Arc<XmtpOpenMlsProvider>,
key: &[u8],
) -> Self {
let nonce = xmtp_common::rand_array::<NONCE_SIZE>();
let mut nonce_buffer = BACKUP_VERSION.to_le_bytes().to_vec();
let nonce = xmtp_common::rand_array::<NONCE_SIZE>();
nonce_buffer.extend_from_slice(&nonce);

Self {
Expand Down
2 changes: 1 addition & 1 deletion xmtp_mls/src/groups/device_sync/backup/backup_importer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use futures::{AsyncBufRead, AsyncReadExt};
use prost::Message;
use sha2::digest::{generic_array::GenericArray, typenum};
use std::pin::Pin;
use xmtp_proto::xmtp::device_sync::{backup_element::Element, BackupElement, BackupMetadataSave};
use xmtp_proto::xmtp::device_sync::{backup_element::Element, BackupElement};

use super::{BackupError, BackupMetadata};

Expand Down

0 comments on commit 6f37207

Please sign in to comment.