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:
Jack Grigg 2021-04-27 12:30:16 +12:00
parent 316729302d
commit 497f7e0b86
1 changed files with 0 additions and 8 deletions

View File

@ -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 {