From 75b5911372a5b275a322dddd1ddc398a2e18c433 Mon Sep 17 00:00:00 2001 From: Pablo Lamela Date: Fri, 18 Oct 2024 18:21:38 +0200 Subject: [PATCH] Fix num of DRepCredentials for transient parameter --- .../src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs index 514ceb005..510789c81 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs @@ -270,7 +270,7 @@ runGenesisCreateTestNetDataCmd mapAccumM (\g' _ -> swap . first getVerificationKey <$> generateInsecureSigningKey g' AsDRepKey) g - [1 .. numOfStakeDelegators] + [1 .. numOfDRepCredentials] when (0 < numOfDRepCredentials && dRepCredentialGenerationMode == OnDisk) $ writeREADME drepsDir drepsREADME