fix misleading assert messages && add some comments
This commit is contained in:
parent
8a408f3ab0
commit
ee6ae128de
3 changed files with 10 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue