pub fn require_same_address(a: &AccountView, b: &AccountView) -> ProgramResultExpand description
Assert that two accounts have the same address.
Useful for verifying expected accounts match (e.g., token mint matches the vault’s expected mint).
pub fn require_same_address(a: &AccountView, b: &AccountView) -> ProgramResultAssert that two accounts have the same address.
Useful for verifying expected accounts match (e.g., token mint matches the vault’s expected mint).