Skip to content
Snippets Groups Projects
Commit fcd6c998 authored by Shaopeng Wang's avatar Shaopeng Wang Committed by Xiliang Chen
Browse files

Remove Default bound from CurrencyId. (#38)

parent e4992394
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ use palette_support::{decl_module, decl_storage, Parameter};
use sr_primitives::traits::{MaybeSerializeDeserialize, Member, SimpleArithmetic, Zero};
pub trait Trait: palette_system::Trait {
type CurrencyId: Parameter + Member + Default + Copy + MaybeSerializeDeserialize;
type CurrencyId: Parameter + Member + Copy + MaybeSerializeDeserialize;
type Price: Parameter + Member + Zero + SimpleArithmetic + Copy + Ord;
type Source: DataProvider<Self::CurrencyId, Self::Price>;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment