瀏覽代碼

Lib.rs: replace type definitions with type prmitives

iorveth 4 年之前
父節點
當前提交
639ce69f32
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      runtime/src/lib.rs

+ 4 - 4
runtime/src/lib.rs

@@ -456,10 +456,10 @@ impl common::MembershipTypes for Runtime {
 }
 
 impl common::StorageOwnership for Runtime {
-    type ChannelId = u64;
-    type DAOId = u64;
-    type ContentId = u64;
-    type DataObjectTypeId = u64;
+    type ChannelId = ChannelId;
+    type DAOId = DAOId;
+    type ContentId = ContentId;
+    type DataObjectTypeId = DataObjectTypeId;
 }
 
 impl governance::election::Trait for Runtime {