Skip to content

Commit

Permalink
fix: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marktoda committed Jan 2, 2025
1 parent d0e96e9 commit cd3515c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ chainz add
# List configured chains
chainz list

# execute a command for a given chain
chainz exec ethereum -- cast block-number
21532741

# Switch to a chain
chainz use ethereum
source .env
Expand Down
2 changes: 1 addition & 1 deletion src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl Key {
KeyType::PrivateKey { value } => Ok(value.clone()),
KeyType::EncryptedKey { value, nonce } => {
let password =
prompt_password(&format!("Enter decryption password for {}: ", self.name))?;
prompt_password(format!("Enter decryption password for {}: ", self.name))?;

Check failure on line 57 in src/key.rs

View workflow job for this annotation

GitHub Actions / Test Suite

mismatched types
let key = Self::derive_key(&password);
let cipher = Aes256Gcm::new(&key.into());
let nonce_bytes = BASE64.decode(nonce)?;
Expand Down

0 comments on commit cd3515c

Please sign in to comment.