Skip to content

Commit

Permalink
Use value passed with '--gen-utxo-keys' in 'cardano-cli genesis creat…
Browse files Browse the repository at this point in the history
…e-cardano'
  • Loading branch information
MarcFontaine committed Jan 9, 2023
1 parent f8cf478 commit dee2a98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cardano-cli/src/Cardano/CLI/Shelley/Run/Genesis.hs
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ runGenesisCreateCardano :: GenesisDir
-> Maybe FilePath
-> ExceptT ShelleyGenesisCmdError IO ()
runGenesisCreateCardano (GenesisDir rootdir)
genNumGenesisKeys _genNumUTxOKeys
genNumGenesisKeys genNumUTxOKeys
mStart mAmount mSecurity slotLength mSlotCoeff
network byronGenesisT shelleyGenesisT alonzoGenesisT mNodeCfg = do
start <- maybe (SystemStart <$> getCurrentTimePlus30) pure mStart
Expand Down Expand Up @@ -636,7 +636,7 @@ runGenesisCreateCardano (GenesisDir rootdir)
(toByronRequiresNetworkMagic network)
byronBalance = TestnetBalanceOptions
{ tboRichmen = genNumGenesisKeys
, tboPoors = 1
, tboPoors = genNumUTxOKeys
, tboTotalBalance = fromMaybe zeroLovelace $ toByronLovelace (fromMaybe 0 mAmount)
, tboRichmenShare = 0
}
Expand Down

0 comments on commit dee2a98

Please sign in to comment.