From 497f7e0b862c6ede6e41d8b9558641767d2ebdd1 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 27 Apr 2021 12:30:16 +1200 Subject: [PATCH] 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. --- src/bundle.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/bundle.rs b/src/bundle.rs index 32200867..5141b472 100644 --- a/src/bundle.rs +++ b/src/bundle.rs @@ -273,14 +273,6 @@ impl Bundle { } } -/// 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 {