Function spl_governance::tools::spl_token::assert_spl_token_owner_is_signer[][src]

pub fn assert_spl_token_owner_is_signer(
    token_info: &AccountInfo<'_>,
    token_owner_info: &AccountInfo<'_>
) -> Result<(), ProgramError>
Expand description

Asserts current token owner matches the given owner and it’s signer of the transaction