diff --git a/node-graph/gcore/src/types.rs b/node-graph/gcore/src/types.rs index a25aa0dc..a07b02f1 100644 --- a/node-graph/gcore/src/types.rs +++ b/node-graph/gcore/src/types.rs @@ -51,7 +51,7 @@ pub struct TypeDescriptor { impl core::hash::Hash for TypeDescriptor { fn hash(&self, state: &mut H) { - self.id.hash(state); + self.name.hash(state); } } diff --git a/node-graph/graph-craft/src/proto.rs b/node-graph/graph-craft/src/proto.rs index 7b234e9c..dd981c0b 100644 --- a/node-graph/graph-craft/src/proto.rs +++ b/node-graph/graph-craft/src/proto.rs @@ -536,11 +536,11 @@ mod test { ids, vec![ 15907139529964845467, - 17186311536944112733, - 1674503539363691855, - 10408773954839245246, - 1677533587730447846, - 6826908746727711035 + 14192092348022507362, + 14714934190542167928, + 4518275895314664278, + 13912679582583718470, + 3236993912700824422 ] ); }