From 39e8fc296edaf7718f7071a3394b0883e641fb10 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Mon, 2 Dec 2024 11:25:53 +0000 Subject: [PATCH] fix(cdk-cli): mint use unit from args --- crates/cdk-cli/src/sub_commands/mint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cdk-cli/src/sub_commands/mint.rs b/crates/cdk-cli/src/sub_commands/mint.rs index 46ce6a27..43e71a44 100644 --- a/crates/cdk-cli/src/sub_commands/mint.rs +++ b/crates/cdk-cli/src/sub_commands/mint.rs @@ -39,7 +39,7 @@ pub async fn mint( let description: Option = 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(),