remove Default from AssetId trait bound (#9062)

* update AssetId trait

* try again
This commit is contained in:
Xiliang Chen authored and GitHub committed 2021-06-13 06:26:42 +00:00
1 parent 02930e098b
commit e508536ca4
1 file changed
+2 -2
@@ -161,8 +161,8 @@ impl WithdrawReasons {
}
/// Simple amalgamation trait to collect together properties for an AssetId under one roof.
pub trait AssetId: FullCodec + Copy + Default + Eq + PartialEq + Debug {}
impl<T: FullCodec + Copy + Default + Eq + PartialEq + Debug> AssetId for T {}
pub trait AssetId: FullCodec + Copy + Eq + PartialEq + Debug {}
impl<T: FullCodec + Copy + Eq + PartialEq + Debug> AssetId for T {}
/// Simple amalgamation trait to collect together properties for a Balance under one roof.
pub trait Balance: AtLeast32BitUnsigned + FullCodec + Copy + Default + Debug {}