mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 00:29:25 -05:00
ringct: add operator!= for key
Part of upstreaming Seraphis/Carrot Co-authored-by: j-berman <justinberman@protonmail.com>
This commit is contained in:
parent
9866a0e902
commit
c7dce222f8
@ -84,6 +84,7 @@ namespace rct {
|
||||
return bytes[i];
|
||||
}
|
||||
bool operator==(const key &k) const { return !crypto_verify_32(bytes, k.bytes); }
|
||||
bool operator!=(const key &k) const { return crypto_verify_32(bytes, k.bytes); }
|
||||
unsigned char bytes[32];
|
||||
};
|
||||
typedef std::vector<key> keyV; //vector of keys
|
||||
|
Loading…
Reference in New Issue
Block a user