Skip to content

Commit 4d8cdd2

Browse files
authored
feat(ledger): consume vote registration delegation deposit (#1005)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent af327e0 commit 4d8cdd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ledger/conway/rules.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ func UtxoValidateValueNotConservedUtxo(
289289
producedValue += uint64(tmpPparams.KeyDeposit)
290290
case *common.StakeVoteRegistrationDelegationCertificate:
291291
producedValue += uint64(tmpPparams.KeyDeposit)
292+
case *common.VoteRegistrationDelegationCertificate:
293+
producedValue += uint64(tmpPparams.KeyDeposit)
292294
}
293295
}
294296
for _, proposal := range tx.ProposalProcedures() {

0 commit comments

Comments
 (0)