fix misleading assert messages && add some comments

This commit is contained in:
fanghr 2022-05-20 16:02:06 +08:00
parent cdffbeffc9
commit 9549fae0df
No known key found for this signature in database
GPG key ID: 35CD9A71CD5D5870
3 changed files with 10 additions and 8 deletions

View file

@ -374,6 +374,10 @@ voteOnProposal params =
stakeOutput =
stakeInput
{ txOutDatumHash = Just $ toDatumHash stakeOutputDatum
-- We won't include the minimum Ada in the output value
-- due to how we check the output value in the stake validator.
-- The implementation is correct though, it should work in a
-- real on-chain environment.
}
---