Skip to content

Commit

Permalink
multiera_drep_delegation add combined certs
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Apr 5, 2024
1 parent c48a42d commit 8013ce6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions indexer/tasks/src/multiera/multiera_drep_delegation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@ async fn handle(
delegation.stake_credential.clone(),
Some(delegation.d_rep.to_cbor_bytes()),
),
MultiEraCertificate::StakeVoteDelegCert(delegation) => (
delegation.stake_credential.clone(),
Some(delegation.d_rep.to_cbor_bytes()),
),
MultiEraCertificate::VoteRegDelegCert(delegation) => (
delegation.stake_credential.clone(),
Some(delegation.d_rep.to_cbor_bytes()),
),
MultiEraCertificate::StakeVoteRegDelegCert(delegation) => (
delegation.stake_credential.clone(),
Some(delegation.d_rep.to_cbor_bytes()),
),
MultiEraCertificate::StakeDeregistration(deregistration) => {
(deregistration.stake_credential.clone(), None)
}
Expand Down

0 comments on commit 8013ce6

Please sign in to comment.