diff --git a/cardano-api/gen/Gen/Cardano/Api/Typed.hs b/cardano-api/gen/Gen/Cardano/Api/Typed.hs index 471b488bce6..678e16cc2da 100644 --- a/cardano-api/gen/Gen/Cardano/Api/Typed.hs +++ b/cardano-api/gen/Gen/Cardano/Api/Typed.hs @@ -380,7 +380,7 @@ genTxId :: Gen TxId genTxId = TxId <$> genShelleyHash genTxIndex :: Gen TxIx -genTxIndex = TxIx <$> Gen.word Range.constantBounded +genTxIndex = TxIx <$> Gen.word (Range.constantFrom 0 0 65535) genTxOutValue :: CardanoEra era -> Gen (TxOutValue era) genTxOutValue era =