fix delegatee auth check
This commit is contained in:
parent
2b59923059
commit
b0e476a81c
1 changed files with 9 additions and 6 deletions
|
|
@ -414,13 +414,16 @@ mkStakeValidator impl sstSymbol pstClass gtClass =
|
|||
# firstStakeInputDatumF.owner
|
||||
|
||||
delegateSignsTransaction =
|
||||
( authCheckHelperF.allOwnByOrDelegatedToTheFirstOwner
|
||||
#|| authCheckHelperF.allOwnByOrDelegatedToTheFirstDelegatee
|
||||
( authCheckHelperF.allOwnByOrDelegatedToTheFirstDelegatee
|
||||
#&& pmaybeData
|
||||
# pconstant False
|
||||
# plam ((authorizedBy #) . pfromData)
|
||||
# pfromData firstStakeInputDatumF.delegatedTo
|
||||
)
|
||||
#&& pmaybeData
|
||||
# pconstant False
|
||||
# plam ((authorizedBy #) . pfromData)
|
||||
# pfromData firstStakeInputDatumF.delegatedTo
|
||||
#|| ( authCheckHelperF.allOwnByOrDelegatedToTheFirstOwner
|
||||
#&& authorizedBy
|
||||
# firstStakeInputDatumF.owner
|
||||
)
|
||||
|
||||
signedBy =
|
||||
pif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue