mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-30 07:29:49 +00:00
AssetId trait should also contain TypeInfo bound (#10038)
This commit is contained in:
1 parent
0b0c41b5f4
commit
53720da2b4
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 + Eq + PartialEq + Debug {}
|
||||
impl<T: FullCodec + Copy + Eq + PartialEq + Debug> AssetId for T {}
|
||||
pub trait AssetId: FullCodec + Copy + Eq + PartialEq + Debug + scale_info::TypeInfo {}
|
||||
impl<T: FullCodec + Copy + Eq + PartialEq + Debug + scale_info::TypeInfo> AssetId for T {}
|
||||
|
||||
/// Simple amalgamation trait to collect together properties for a Balance under one roof.
|
||||
pub trait Balance:
|
||||
|
||||
Reference in new issue
Block a user