Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Correct variable name typos in db_storage.rs** #3280

Merged
merged 1 commit into from
Feb 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions linera-storage/src/db_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ where
.store
.read_multi_values::<BlobState>(blob_state_keys)
.await?;
let mut latest_epoches = Vec::new();
let mut latest_epochs = Vec::new();
let mut batch = Batch::new();
let mut need_write = false;
for (maybe_blob_state, blob_id) in maybe_blob_states.iter().zip(blob_ids) {
Expand All @@ -634,12 +634,12 @@ where
batch.add_blob_state(*blob_id, &blob_state)?;
need_write = true;
}
latest_epoches.push(latest_epoch);
latest_epochs.push(latest_epoch);
}
if need_write {
self.write_batch(batch).await?;
}
Ok(latest_epoches)
Ok(latest_epochs)
}

async fn write_blob_state(
Expand Down
Loading