diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs index 656374d5dc..bf0855e4b6 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs @@ -1720,7 +1720,7 @@ runQuerySPOStakeDistribution All -> [] Only l -> l - spos <- Set.fromList <$> mapM spoFromSource spoHashSources + spos <- fromList <$> mapM spoFromSource spoHashSources spoStakeDistribution <- runQuery localNodeConnInfo target $ querySPOStakeDistribution eon spos writeOutput mOutFile $