Skip to content

Commit

Permalink
change DataModelType::Schema hash value
Browse files Browse the repository at this point in the history
Since the `DataModelType` representation has changed, its schema hash
should as well.
  • Loading branch information
max-heller committed Feb 2, 2025
1 parent 4f49203 commit 5990f7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/postcard-schema/src/key/hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ pub mod fnv1a64 {
}
state
}
DataModelType::Schema => hash_update(state, &[0xB3]),
DataModelType::Schema => hash_update(state, &[0xE5]),
}
}

Expand Down Expand Up @@ -332,7 +332,7 @@ pub mod fnv1a64_owned {
}
state
}
OwnedDataModelType::Schema => hash_update(state, &[0xB3]),
OwnedDataModelType::Schema => hash_update(state, &[0xE5]),
}
}

Expand Down

0 comments on commit 5990f7a

Please sign in to comment.