File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
rust/rbac-registration/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ pub trait RbacChainsState {
3131 ) -> impl Future < Output = anyhow:: Result < Option < CatalystId > > > + Send ;
3232
3333 /// Returns a corresponding to the RBAC chain's Catalyst ID corresponding by the given
34- /// public key.
35- fn chain_catalyst_id_from_public_key (
34+ /// signing public key.
35+ fn chain_catalyst_id_from_signing_pk (
3636 & self ,
3737 key : & VerifyingKey ,
3838 ) -> impl Future < Output = anyhow:: Result < Option < CatalystId > > > + Send ;
Original file line number Diff line number Diff line change @@ -731,7 +731,7 @@ where
731731{
732732 for role in cip509. all_roles ( ) {
733733 if let Some ( key) = cip509. signing_pk_for_role ( role) {
734- if let Some ( previous) = state. chain_catalyst_id_from_public_key ( & key) . await ? {
734+ if let Some ( previous) = state. chain_catalyst_id_from_signing_pk ( & key) . await ? {
735735 if & previous != cat_id {
736736 cip509. report ( ) . functional_validation (
737737 & format ! ( "An update to {cat_id} registration chain uses the same public key ({key:?}) as {previous} chain" ) ,
You can’t perform that action at this time.
0 commit comments