mirror of https://github.com/zcash/halo2.git
Remove bundle::Unauthorized type
It is being replaced by context-specific unauthorized or partially-authorized types. The only general type we need is Authorized which is used in transactions.
This commit is contained in:
parent
316729302d
commit
497f7e0b86
|
@ -273,14 +273,6 @@ impl<T: Authorization> Bundle<T> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Marker for an unauthorized bundle with no proofs or signatures.
|
||||
#[derive(Debug)]
|
||||
pub struct Unauthorized {}
|
||||
|
||||
impl Authorization for Unauthorized {
|
||||
type SpendAuth = ();
|
||||
}
|
||||
|
||||
/// Authorizing data for a bundle of actions, ready to be committed to the ledger.
|
||||
#[derive(Debug)]
|
||||
pub struct Authorized {
|
||||
|
|
Loading…
Reference in New Issue