Skip to content

Commit

Permalink
list-accounts: Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d authored Sep 10, 2024
1 parent 0bb3284 commit 8e74d4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/list_accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use zcash_client_sqlite::WalletDb;

use crate::data::{get_db_paths, get_wallet_network};

// Options accepted for the `import-ufvk` command
// Options accepted for the `list-accounts` command
#[derive(Debug, Options)]
pub(crate) struct Command {}

Expand All @@ -19,9 +19,9 @@ impl Command {
let account = db_data.get_account(*account_id)?.unwrap();

println!("Account {}", i);
println!(" Uivk: {}", account.uivk().encode(&params));
println!(" UIVK: {}", account.uivk().encode(&params));
println!(
" Ufvk: {}",
" UFVK: {}",
account
.ufvk()
.map_or("None".to_owned(), |k| k.encode(&params))
Expand Down

0 comments on commit 8e74d4e

Please sign in to comment.