feat: check_pending by unit

This commit is contained in:
thesimplekid
2024-06-12 09:40:54 +01:00
parent eb8bd373ad
commit 9377b71104
3 changed files with 11 additions and 4 deletions

View File

@@ -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");