소스 검색

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

thesimplekid 4 달 전
부모
커밋
39e8fc296e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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(),