Skip to main content

check_id

Function check_id 

Source
pub fn check_id(id: &Pubkey) -> bool
👎Deprecated since 3.1.0:

This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.

Expand description

Returns true if given pubkey is the program ID.