Skip to main content

require_keys_neq

Macro require_keys_neq 

Source
macro_rules! require_keys_neq {
    ( $left:expr, $right:expr, $err:expr ) => { ... };
    ( $left:expr, $right:expr ) => { ... };
}
Expand description

Assert two public keys are not equal. Used for pinning distinct accounts (authority != user, source != destination). Same coercion and error semantics as require_keys_eq!.