Skip to content

Commit

Permalink
Remove unneeded code (paritytech#11117)
Browse files Browse the repository at this point in the history
* Remove unneeded code

* Remove unused imports

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

Co-authored-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
gavofyork and ggwpez authored Mar 25, 2022
1 parent 411d9bb commit b8aea62
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions frame/whitelist/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -51,12 +51,6 @@ use sp_std::prelude::*;

pub use pallet::*;

#[derive(Clone, Encode, Decode, TypeInfo, MaxEncodedLen)]
pub struct Preimage<BoundedVec, Balance, AccountId> {
preimage: BoundedVec,
deposit: Option<(AccountId, Balance)>,
}

#[frame_support::pallet]
pub mod pallet {
use super::*;
Expand Down

0 comments on commit b8aea62

Please sign in to comment.