Remove unused From<[u8; 32]> for SpendAuthorizingKey

This commit is contained in:
Deirdre Connolly 2020-04-18 04:22:57 -04:00 committed by Deirdre Connolly
parent 630d021886
commit b53be18c8f
1 changed files with 0 additions and 6 deletions

View File

@ -263,12 +263,6 @@ impl fmt::Debug for SpendAuthorizingKey {
}
}
impl From<[u8; 32]> for SpendAuthorizingKey {
fn from(bytes: [u8; 32]) -> Self {
Self(Scalar::from_bytes(&bytes).unwrap())
}
}
impl From<SpendAuthorizingKey> for [u8; 32] {
fn from(sk: SpendAuthorizingKey) -> Self {
sk.0.to_bytes()