We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d4fc0b commit 7e5efe0Copy full SHA for 7e5efe0
ledger/conway/rules.go
@@ -254,6 +254,8 @@ func UtxoValidateValueNotConservedUtxo(
254
}
255
for _, cert := range tx.Certificates() {
256
switch cert.(type) {
257
+ case *common.DeregistrationCertificate:
258
+ consumedValue += uint64(tmpPparams.KeyDeposit)
259
case *common.StakeDeregistrationCertificate:
260
consumedValue += uint64(tmpPparams.KeyDeposit)
261
@@ -275,6 +277,8 @@ func UtxoValidateValueNotConservedUtxo(
275
277
if len(certs) == 0 {
276
278
producedValue += uint64(tmpPparams.PoolDeposit)
279
280
+ case *common.RegistrationCertificate:
281
+ producedValue += uint64(tmpPparams.KeyDeposit)
282
case *common.StakeRegistrationCertificate:
283
producedValue += uint64(tmpPparams.KeyDeposit)
284
0 commit comments