Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jules committed Sep 8, 2021
1 parent dd3933c commit 33ca464
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion phase1-coordinator/src/coordinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ use crate::{
Locator,
LocatorPath,
Object,
StorageAction,
StorageLocator,
StorageObject,
},
Expand Down
5 changes: 2 additions & 3 deletions phase1-coordinator/src/objects/round.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use crate::{
Locator,
LocatorPath,
Object,
RemoveAction,
StorageAction,
StorageLocator,
UpdateAction,
Expand Down Expand Up @@ -642,7 +641,7 @@ impl Round {
pub fn initialize_verifier_response_files(
&self,
environment: &Environment,
storage: &mut impl Storage,
storage: &mut Disk,
participant: &Participant,
chunk_id: u64,
locators: &LockedLocators,
Expand All @@ -668,7 +667,7 @@ impl Round {
/// Returns previous contribution, current contribution and next contribution paths
pub(crate) fn get_chunk_locators_for_verifier(
&self,
storage: &impl Storage,
storage: &Disk,
participant: &Participant,
chunk_id: u64,
contribution_id: u64,
Expand Down
2 changes: 1 addition & 1 deletion phase1-coordinator/src/storage/disk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use std::{
collections::{BTreeSet, HashMap, HashSet},
convert::TryFrom,
fs::{self, File, OpenOptions},
io::{self, Error, ErrorKind, Write},
io::{Error, ErrorKind, Write},
path::{Path, PathBuf},
str::FromStr,
sync::{Arc, RwLock},
Expand Down

0 comments on commit 33ca464

Please sign in to comment.