Function solana_gateway::state::verify_gatekeeper
source · [−]pub fn verify_gatekeeper(
gatekeeper_account_info: &AccountInfo<'_>,
gatekeeper: &Pubkey,
gatekeeper_network: &Pubkey
) -> Result<(), GatewayError>
Expand description
Verifies that the gatekeeper account matches the passed in gatekeeper and gatekeeper network NOTE: This does not check that the gatekeeper is a signer of the transaction.