impl Clone for Signature
This commit is contained in:
parent
2cc2bd6518
commit
e7a9bf4df8
@ -121,6 +121,12 @@ impl Hash for Signature {
|
||||
}
|
||||
}
|
||||
|
||||
impl Clone for Signature {
|
||||
fn clone(&self) -> Self {
|
||||
Signature(self.0)
|
||||
}
|
||||
}
|
||||
|
||||
impl From<[u8; 65]> for Signature {
|
||||
fn from(s: [u8; 65]) -> Self {
|
||||
Signature(s)
|
||||
|
Loading…
Reference in New Issue
Block a user