diff --git a/examples/Gov/SubmitVote.purs b/examples/Gov/SubmitVote.purs index 7b8b05940..1590a04c8 100644 --- a/examples/Gov/SubmitVote.purs +++ b/examples/Gov/SubmitVote.purs @@ -71,12 +71,15 @@ submitProposal = do getRewardAddresses tx <- submitTxFromBuildPlan Map.empty mempty - [ SubmitProposal $ VotingProposal - { govAction: GovAction.Info - , anchor: dummyAnchor - , deposit: unwrap govActionDeposit - , returnAddr: rewardAddr - } + [ SubmitProposal + ( VotingProposal + { govAction: GovAction.Info + , anchor: dummyAnchor + , deposit: unwrap govActionDeposit + , returnAddr: rewardAddr + } + ) + Nothing ] let txHash = Transaction.hash tx awaitTxConfirmed txHash diff --git a/examples/Gov/SubmitVoteScript.purs b/examples/Gov/SubmitVoteScript.purs index 5f0222b60..55e43e6d3 100644 --- a/examples/Gov/SubmitVoteScript.purs +++ b/examples/Gov/SubmitVoteScript.purs @@ -76,12 +76,15 @@ submitProposal = do getRewardAddresses tx <- submitTxFromBuildPlan Map.empty mempty - [ SubmitProposal $ VotingProposal - { govAction: GovAction.Info - , anchor: dummyAnchor - , deposit: unwrap govActionDeposit - , returnAddr: rewardAddr - } + [ SubmitProposal + ( VotingProposal + { govAction: GovAction.Info + , anchor: dummyAnchor + , deposit: unwrap govActionDeposit + , returnAddr: rewardAddr + } + ) + Nothing ] let txHash = Transaction.hash tx awaitTxConfirmed txHash