We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f956c9 commit a1b04fbCopy full SHA for a1b04fb
program/src/processor.rs
@@ -976,9 +976,7 @@ impl Processor {
976
/// Checks two pubkeys for equality in a computationally cheap way using
977
/// `sol_memcmp`
978
pub fn cmp_pubkeys(a: &Pubkey, b: &Pubkey) -> bool {
979
- unsafe {
980
- sol_memcmp(a.as_ref(), b.as_ref(), PUBKEY_BYTES) == 0
981
- }
+ unsafe { sol_memcmp(a.as_ref(), b.as_ref(), PUBKEY_BYTES) == 0 }
982
}
983
984
/// Validates owner(s) are present
0 commit comments