spl_account_compression::spl_account_compression

Function transfer_authority

source
pub fn transfer_authority(
    ctx: Context<'_, '_, '_, '_, TransferAuthority<'_>>,
    new_authority: Pubkey,
) -> Result<()>
Expand description

Transfers authority. Requires authority to sign