mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-23 23:55:01 +01:00
feat: check_pending by unit
This commit is contained in:
@@ -11,7 +11,7 @@ pub struct BurnSubCommand {
|
||||
|
||||
pub async fn burn(wallet: Wallet, sub_command_args: &BurnSubCommand) -> Result<()> {
|
||||
let amount_burnt = wallet
|
||||
.check_all_pending_proofs(sub_command_args.mint_url.clone().map(|u| u.into()))
|
||||
.check_all_pending_proofs(sub_command_args.mint_url.clone().map(|u| u.into()), None)
|
||||
.await?;
|
||||
|
||||
println!("{amount_burnt} burned");
|
||||
|
||||
Reference in New Issue
Block a user