Explorar o código

Lib.rs: replace type definitions with type prmitives

iorveth %!s(int64=4) %!d(string=hai) anos
pai
achega
639ce69f32
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  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 {