Skip to content

Commit

Permalink
wip: cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Jun 15, 2022
1 parent 4a9a4c0 commit 90c56b0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions fil-proofs-param/src/bin/paramfetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ lazy_static! {
}

const DEFAULT_JSON: &str = include_str!("../../parameters.json");
const DEFAULT_IPGET_VERSION: &str = "v0.6.0";
const DEFAULT_IPGET_VERSION: &str = "v0.8.1";

#[inline]
fn get_ipget_dir(version: &str) -> String {
Expand Down Expand Up @@ -192,7 +192,13 @@ fn download_file_with_ipget(
ipget_args: &Option<String>,
verbose: bool,
) -> Result<()> {
let mut args = vec![cid, "-o", path.to_str().unwrap()];
let mut args = vec![
cid,
"-p",
"Qmde7irdYqkbhfFsu6xKzBgmGWJPnx8bS7TNVdAko4gswW",
"-o",
path.to_str().unwrap(),
];
if let Some(ipget_args) = ipget_args {
args.extend(ipget_args.split_whitespace());
}
Expand Down

0 comments on commit 90c56b0

Please sign in to comment.