Skip to content

Commit

Permalink
map fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lisicky committed Nov 2, 2023
1 parent 0599b5e commit 1ed53f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mapper/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,10 @@ impl EventWriter {
committee_hot_credential: hot.into(),
})
}
Certificate::ResignCommitteeCold(cold) => {
Certificate::ResignCommitteeCold(cold, anchor) => {
CertificateRecord::ResignCommitteeCold(ResignCommitteeColdCertRecord {
committee_cold_credential: cold.into(),
anchor: to_option_anchor_record(anchor),
})
}
Certificate::RegDRepCert(drep, coin, anchor) => {
Expand Down
1 change: 1 addition & 0 deletions src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ pub struct AuthCommitteeHotCertRecord {
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct ResignCommitteeColdCertRecord {
pub committee_cold_credential: StakeCredential,
pub anchor: Option<AnchorRecord>,
}

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
Expand Down

0 comments on commit 1ed53f9

Please sign in to comment.