Skip to content

Commit e76a071

Browse files
Remove the Catalyst ID (is_some) check for non-root registrations (#268)
1 parent 9c7086b commit e76a071

File tree

1 file changed

+0
-3
lines changed
  • rust/rbac-registration/src/registration/cardano

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,6 @@ impl RegistrationChainInner {
334334
let Some(prv_tx_id) = cip509.previous_transaction() else {
335335
bail!("Empty previous transaction ID");
336336
};
337-
if cip509.catalyst_id().is_some() {
338-
bail!("Catalyst id should be present only for chain root registration.");
339-
}
340337
// Previous transaction ID in the CIP509 should equal to the current transaction ID
341338
// or else it is not a part of the chain
342339
if prv_tx_id == self.current_tx_id_hash {

0 commit comments

Comments
 (0)