Files
cdk/crates/cdk-cli/src/sub_commands/pending_mints.rs
thesimplekid e268866446 chore: clippy (#750)
* chore: clippy

* chore: fmt
2025-05-14 15:55:37 +01:00

13 lines
315 B
Rust

use anyhow::Result;
use cdk::wallet::MultiMintWallet;
pub async fn mint_pending(multi_mint_wallet: &MultiMintWallet) -> Result<()> {
let amounts = multi_mint_wallet.check_all_mint_quotes(None).await?;
for (unit, amount) in amounts {
println!("Unit: {unit}, Amount: {amount}");
}
Ok(())
}