Dodecahedr0x/meta-dao-frontend

[bug] when minting condMETA if underlying token account doesn't exist create it

Closed this issue · 0 comments

userUnderlyingTokenAccount: getAssociatedTokenAddressSync(

If the wallet / account doesn't have a META token account, this transaction will fail.

This is avoided in the mint conditional by first checking if the account exists, then adding it the TX IX if it doesn't.

I think...

disc_error