Skip to content

Commit

Permalink
Update pallets/staking/src/pck/production.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
  • Loading branch information
ameba23 and HCastano authored Oct 24, 2024
1 parent 689e2f0 commit 4fc7cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/staking/src/pck/production.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fn verify_pck_cert_chain(certificates_der: Vec<Vec<u8>>) -> Result<[u8; 65], Pck
certificates.push(Certificate::from_der(&certificate)?);
}

// Get the rook public key
// Get the root public key
let root_pk: SubjectPublicKeyInfo<Any, BitString> =
SubjectPublicKeyInfo::from_der(&INTEL_ROOT_CA_PK_DER)?;
let root_pk: VerifyingKey = root_pk.try_into()?;
Expand Down

0 comments on commit 4fc7cb2

Please sign in to comment.