I encountered an error while attempting to change the mint authority. Currently, the mint authority is the same as my token address. I intend to change it to null or according to the wallet address. However, when I ran the script, I received a "signature verification failed" error.
TokenAddress: FS32hKLJVEN9NoaGvS4NpumuwcrDkmJ5Mt5CYyiXfdxj Authority: FS32hKLJVEN9NoaGvS4NpumuwcrDkmJ5Mt5CYyiXfdxj
const transactionSignature = await setAuthority(
connection, //connection
userWallet, // wallet Address
mintPubkey, //tokenMintAddress
mintPubkey, // current authority
AuthorityType.MintTokens,
null //new authority
)