diff --git a/ledger/common/certs.go b/ledger/common/certs.go index bfe53486..35081093 100644 --- a/ledger/common/certs.go +++ b/ledger/common/certs.go @@ -786,7 +786,7 @@ type StakeVoteRegistrationDelegationCertificate struct { cbor.DecodeStoreCbor CertType uint StakeCredential Credential - PoolKeyHash []byte + PoolKeyHash PoolKeyHash Drep Drep Amount int64 } diff --git a/ledger/conway/rules.go b/ledger/conway/rules.go index 2a08cd9c..53c1028e 100644 --- a/ledger/conway/rules.go +++ b/ledger/conway/rules.go @@ -287,6 +287,8 @@ func UtxoValidateValueNotConservedUtxo( producedValue += uint64(tmpPparams.KeyDeposit) case *common.StakeRegistrationDelegationCertificate: producedValue += uint64(tmpPparams.KeyDeposit) + case *common.StakeVoteRegistrationDelegationCertificate: + producedValue += uint64(tmpPparams.KeyDeposit) } } for _, proposal := range tx.ProposalProcedures() {