Skip to main content

verify_pda

Function verify_pda 

Source
pub fn verify_pda(
    account: &AccountView,
    seeds: &[&[u8]],
    program_id: &Address,
) -> Result<(), ProgramError>
Expand description

Verify that an account’s address matches a PDA derived from the given seeds.