Open sohrab- opened 10 months ago
Hi there, I think this is to do with an account that exists (i.e. had some lamports) but no data. The "safe" part currently doesn't protect you against accounts that exist but don't have the expected data. I'm in two minds whether it should or not.
My understanding of
safe*
functions was that they returnnull
when the account does not exist. However, it actually throws anUnexpectedAccountError
on the empty buffer.@metaplex-foundation/mpl-candy-machine
v6.0.0