Browse Source

fix(cdk-cli): mint use unit from args

thesimplekid 4 months ago
parent
commit
39e8fc296e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      crates/cdk-cli/src/sub_commands/mint.rs

+ 1 - 1
crates/cdk-cli/src/sub_commands/mint.rs

@@ -39,7 +39,7 @@ pub async fn mint(
     let description: Option<String> = sub_command_args.description.clone();
 
     let wallet = match multi_mint_wallet
-        .get_wallet(&WalletKey::new(mint_url.clone(), CurrencyUnit::Sat))
+        .get_wallet(&WalletKey::new(mint_url.clone(), unit.clone()))
         .await
     {
         Some(wallet) => wallet.clone(),