Skip to content
Snippets Groups Projects
Commit cbfb1f0e authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

Remove unneeded code (#11117)


* Remove unneeded code

* Remove unused imports

Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
parent 498e8c18
No related merge requests found
......@@ -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<BoundedVec, Balance, AccountId> {
preimage: BoundedVec,
deposit: Option<(AccountId, Balance)>,
}
#[frame_support::pallet]
pub mod pallet {
use super::*;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment