Remove id field

This commit is contained in:
Michael Vines
2020-09-24 00:22:49 -07:00
parent 7526bb96f3
commit cc6ba1e131
3 changed files with 7 additions and 19 deletions

View File

@ -51,9 +51,7 @@ fn compute_commit(sha1: Option<&'static str>) -> Option<u32> {
impl Default for Version {
fn default() -> Self {
let feature_set = u32::from_le_bytes(
solana_runtime::feature_set::FeatureSet::default()
.id
.as_ref()[..4]
solana_runtime::feature_set::ID.as_ref()[..4]
.try_into()
.unwrap(),
);