Skip to content

Commit ea36171

Browse files
committed
Fix doctest
1 parent faca4ba commit ea36171

File tree

1 file changed

+2
-1
lines changed
  • libs/cardano-ledger-api/src/Cardano/Ledger/Api

1 file changed

+2
-1
lines changed

libs/cardano-ledger-api/src/Cardano/Ledger/Api/Tx.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
--
1212
-- Let's start by defining the GHC extensions and imports.
1313
--
14+
-- >>> :set -XTypeApplications
1415
-- >>> :set -XScopedTypeVariables
1516
-- >>> import Test.QuickCheck
1617
-- >>> import qualified Data.Sequence.Strict as StrictSeq
@@ -25,7 +26,7 @@
2526
-- quickCheck $ \(txOut :: TxOut BabbageEra) ->
2627
-- let
2728
-- -- Defining a Babbage era transaction body with a single random transaction output
28-
-- txBody = mkBasicTxBody
29+
-- txBody = mkBasicTxBody @TopTx
2930
-- & outputsTxBodyL <>~ StrictSeq.singleton txOut
3031
-- -- Defining a basic transaction with our transaction body
3132
-- tx = mkBasicTx txBody

0 commit comments

Comments
 (0)