Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Jan 6, 2025
1 parent e943520 commit f92ac2c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hydra-cluster/src/Hydra/Cluster/Scenarios.hs
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,11 @@ singlePartyUsesSchnorrkelScriptOnL2 tracer workDir node hydraScriptsTxId =
mkScriptWitness serializedScript (mkScriptDatum ()) (toScriptData ())
let tx =
unsafeBuildTransaction $
emptyTxBody
defaultTxBodyContent
& changePParams pparams
& addInputs ([(scriptInput, scriptWitness)] <> normalInput)
& addCollateralInput collateralInput
& addOutputs [scriptOutput, returnOutput]
& addTxIns ([(scriptInput, scriptWitness)] <> normalInput)
& addTxInsCollateral collateralInput
& addTxOuts [scriptOutput, returnOutput]
& setTxFee (TxFeeExplicit $ Coin 173_465)
let signedL2tx = signTx walletSk tx
send n1 $ input "NewTx" ["transaction" .= signedL2tx]
Expand Down Expand Up @@ -483,8 +483,8 @@ singlePartyUsesSchnorrkelScriptOnL2 tracer workDir node hydraScriptsTxId =
mkScriptWitness serializedScript (mkScriptDatum ()) (toScriptData ())
let spendingTx =
unsafeBuildTransaction $
emptyTxBody
& addInputs [(scriptIn, scriptWitness)]
defaultTxBodyContent
& addTxIns [(scriptIn, scriptWitness)]
pure
( Aeson.object
[ "blueprintTx" .= spendingTx
Expand Down

0 comments on commit f92ac2c

Please sign in to comment.