Skip to content

Commit 582b32e

Browse files
authored
fix(ledger): consume deposits from governance proposal deposits in conway (#990)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 7afed68 commit 582b32e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ledger/conway/rules.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ func UtxoValidateValueNotConservedUtxo(
285285
producedValue += uint64(tmpPparams.KeyDeposit)
286286
}
287287
}
288+
for _, proposal := range tx.ProposalProcedures() {
289+
producedValue += proposal.Deposit
290+
}
288291
if consumedValue == producedValue {
289292
return nil
290293
}

0 commit comments

Comments
 (0)