diff --git a/substrate/frame/whitelist/src/lib.rs b/substrate/frame/whitelist/src/lib.rs index c2de16964a..239f0fd280 100644 --- a/substrate/frame/whitelist/src/lib.rs +++ b/substrate/frame/whitelist/src/lib.rs @@ -39,7 +39,7 @@ mod mock; mod tests; pub mod weights; -use codec::{Decode, DecodeLimit, Encode, FullCodec, MaxEncodedLen}; +use codec::{DecodeLimit, Encode, FullCodec}; use frame_support::{ ensure, traits::{PreimageProvider, PreimageRecipient}, @@ -51,12 +51,6 @@ use sp_std::prelude::*; pub use pallet::*; -#[derive(Clone, Encode, Decode, TypeInfo, MaxEncodedLen)] -pub struct Preimage { - preimage: BoundedVec, - deposit: Option<(AccountId, Balance)>, -} - #[frame_support::pallet] pub mod pallet { use super::*;