feat: Derive Eq
and PartialEq
to Signature
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
39337f8d90
commit
f47bc82b19
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ pub struct PublicKey([u8; 33]);
|
|||
pub struct PrivateKey([u8; 32]);
|
||||
|
||||
/// OTMP signature
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
pub struct Signature {
|
||||
hmac_output: [u8; 32],
|
||||
timestamp: [u8; 8],
|
||||
|
|
Loading…
Reference in a new issue