Skip to content

Commit

Permalink
Update crates/amaru-ledger/src/state/transaction.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Benkort <[email protected]>
Signed-off-by: jeluard <[email protected]>
  • Loading branch information
jeluard and KtorZ committed Mar 7, 2025
1 parent ee67f20 commit 3a244e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/amaru-ledger/src/state/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ fn apply_certificate(
apply_certificate(parent, pools, accounts, dreps, drep_deleg);
}
Certificate::VoteRegDeleg(credential, drep, coin) => {
let drep_deleg = Certificate::Reg(credential.clone(), coin);
apply_certificate(parent, pools, accounts, dreps, drep_deleg);
let reg = Certificate::Reg(credential.clone(), coin);
apply_certificate(parent, pools, accounts, dreps, reg);
let drep_deleg = Certificate::VoteDeleg(credential, drep);
apply_certificate(parent, pools, accounts, dreps, drep_deleg);
}
Expand Down

0 comments on commit 3a244e6

Please sign in to comment.