fix misleading assert messages && add some comments

This commit is contained in:
fanghr 2022-05-20 16:02:06 +08:00
parent 8a408f3ab0
commit ee6ae128de
3 changed files with 10 additions and 8 deletions

View file

@ -327,8 +327,6 @@ stakeValidator stake =
$ \value address newStakeDatum' ->
let isScriptAddress = pdata address #== ownAddress
correctOutputDatum = pdata newStakeDatum' #== expectedDatum
-- TODO: Is this correct? I think We only need to ensure
-- correct amount of GT/SST in the continuing output.
valueCorrect = pdata continuingValue #== pdata value
in pif
isScriptAddress