Function assert_fee_account

Source
pub fn assert_fee_account(
    fee_vault_info: &AccountInfo<'_>,
    state_info: &AccountInfo<'_>,
) -> Result<()>
Expand description

Asserts that the account is a valid fee account: either one of the program singletons or the fee vault.