Skip to content

Commit

Permalink
fix: add reg drep required wits
Browse files Browse the repository at this point in the history
  • Loading branch information
hadelive committed Sep 13, 2024
1 parent 8d5d5c4 commit da967ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chain/rust/src/builders/certificate_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ pub fn cert_required_wits(cert: &Certificate, required_witnesses: &mut RequiredW
Certificate::ResignCommitteeColdCert(cert) => {
required_witnesses.add_from_credential(cert.committee_cold_credential.clone());
}
Certificate::RegDrepCert(_cert) => {
// does not need a witness
Certificate::RegDrepCert(cert) => {
required_witnesses.add_from_credential(cert.drep_credential.clone());
}
Certificate::UnregDrepCert(cert) => {
required_witnesses.add_from_credential(cert.drep_credential.clone());
Expand Down

0 comments on commit da967ac

Please sign in to comment.