Skip to content

Commit

Permalink
Merge branch 'feat/rbac-registration' into fix/rbac-tracking-addr
Browse files Browse the repository at this point in the history
  • Loading branch information
bkioshn authored Dec 2, 2024
2 parents eff9b6b + d0bf563 commit 72be745
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions rust/rbac-registration/src/cardano/cip509/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,7 @@ impl Cip509 {
/// # Parameters
/// * `txn` - Transaction data was attached to and to be validated/decoded against.
/// * `validation_report` - Validation report to store the validation result.
pub fn validate(
&self, txn: &MultiEraTx, validation_report: &mut Vec<String>,
) -> bool {
pub fn validate(&self, txn: &MultiEraTx, validation_report: &mut Vec<String>) -> bool {
let tx_input_validate =
validate_txn_inputs_hash(self, txn, validation_report).unwrap_or(false);
let aux_validate = validate_aux(txn, validation_report).unwrap_or(false);
Expand All @@ -206,8 +204,7 @@ impl Cip509 {
stake_key_validate =
validate_stake_public_key(self, txn, validation_report).unwrap_or(false);
payment_key_validate =
validate_payment_key(txn, role, validation_report)
.unwrap_or(false);
validate_payment_key(txn, role, validation_report).unwrap_or(false);
signing_key = validate_role_singing_key(role, validation_report);
}
}
Expand Down

0 comments on commit 72be745

Please sign in to comment.