Skip to content

Commit 07d2dae

Browse files
committed
cleanup check_signing_public_key
1 parent 608c388 commit 07d2dae

File tree

1 file changed

+2
-4
lines changed
  • rust/rbac-registration/src/registration/cardano

1 file changed

+2
-4
lines changed

rust/rbac-registration/src/registration/cardano/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -723,13 +723,11 @@ fn check_validation_signature(
723723

724724
/// Checks that a new registration doesn't contain a signing key that was used by any
725725
/// other chain.
726-
async fn check_signing_public_key<State>(
726+
async fn check_signing_public_key(
727727
cat_id: &CatalystId,
728728
cip509: &Cip509,
729-
state: &State,
729+
state: &impl RbacChainsProvider,
730730
) -> anyhow::Result<()>
731-
where
732-
State: RbacChainsProvider,
733731
{
734732
for role in cip509.all_roles() {
735733
if let Some(key) = cip509.signing_public_key_for_role(role)

0 commit comments

Comments
 (0)