Skip to content

Commit

Permalink
fix: tilde in account path causing file not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed Apr 17, 2024
1 parent aafbc0d commit 53ffb43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ impl AccountArgs {
}

let account_config: AccountConfig =
serde_json::from_reader(&mut std::fs::File::open(&self.account)?)?;
serde_json::from_reader(&mut std::fs::File::open(&account)?)?;

let account_address = match account_config.deployment {
DeploymentStatus::Undeployed(_) => anyhow::bail!("account not deployed"),
Expand Down

0 comments on commit 53ffb43

Please sign in to comment.