fix: mint pending get mint info to create auth wallet

This commit is contained in:
thesimplekid
2025-04-03 13:12:38 +01:00
parent d68fdd1a0c
commit 71bfe1ff9c
5 changed files with 6 additions and 3 deletions

View File

@@ -185,6 +185,8 @@ async fn main() -> Result<()> {
let wallet = builder.build()?;
wallet.get_mint_info().await?;
wallets.push(wallet);
}

View File

@@ -42,14 +42,13 @@ pub async fn mint(
{
Some(wallet) => wallet.clone(),
None => {
tracing::debug!("Wallet does not exist creating..");
multi_mint_wallet
.create_and_add_wallet(&mint_url.to_string(), unit, None)
.await?
}
};
wallet.get_mint_info().await?;
let quote_id = match &sub_command_args.quote_id {
None => {
let amount = sub_command_args