Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

pallet-conviction-voting: make the pallet instantiable #11088

Merged
merged 2 commits into from
Mar 25, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frame/conviction-voting/src/conviction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@

//! The conviction datatype.

use crate::types::Delegations;
use codec::{Decode, Encode, MaxEncodedLen};
use scale_info::TypeInfo;
use sp_runtime::{
traits::{Bounded, CheckedDiv, CheckedMul, Zero},
RuntimeDebug,
};
use sp_std::{convert::TryFrom, result::Result};

use crate::types::Delegations;

/// A value denoting the strength of conviction of a vote.
#[derive(
Expand Down
Loading