add ProposalRedeemer, bump plutarch-safemoney PR revision

This commit is contained in:
Emily Martins 2022-04-15 22:03:18 +02:00
parent 808bf77d14
commit 265d8f25c7
5 changed files with 122 additions and 18 deletions

View file

@ -177,8 +177,7 @@ stakeDepositWithdraw config =
[ TxOut
{ txOutAddress = Address (ScriptCredential $ validatorHash validator) Nothing
, txOutValue =
st
<> Value.assetClassValue (untag stake.gtClassRef) (untag stakeAfter.stakedAmount)
st <> Value.assetClassValue (untag stake.gtClassRef) (untag stakeAfter.stakedAmount)
, txOutDatumHash = Just (toDatumHash stakeAfter)
}
]