Parameterize AuthorizingKey as PublicKeyBytes<SpendAuth>

This commit is contained in:
Deirdre Connolly 2020-03-29 03:23:50 -04:00 committed by Deirdre Connolly
parent 097d4617df
commit 39278a3095
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ impl From<SpendingKey> for OutgoingViewingKey {
} }
/// ///
pub type AuthorizingKey = redjubjub::PublicKeyBytes; pub type AuthorizingKey = redjubjub::PublicKeyBytes<redjubjub::SpendAuth>;
impl fmt::Debug for AuthorizingKey { impl fmt::Debug for AuthorizingKey {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {