Skip to content

Commit

Permalink
revert for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Aug 24, 2024
1 parent 5fb20fc commit 2c59010
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/core/src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -657,11 +657,7 @@ impl Storage for MemStorage {
}

fn load_sig(&self, path: &str) -> Result<SigStore> {
let x = self.sigs.read().unwrap();
match x.get(path) {
Some(path) => Ok(path.clone()),
None => panic!("cannot get path '{path}'")
}
Ok(self.sigs.read().unwrap().get(path).unwrap().clone())
}

fn save_sig(&self, path: &str, sig: Signature) -> Result<String> {
Expand Down

0 comments on commit 2c59010

Please sign in to comment.