Skip to content

Commit

Permalink
hlint: remove redundant bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
jbgi committed Jan 18, 2023
1 parent 6602a53 commit 73a2769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Shelley/Run/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ writeStakeSnapshots mOutFile qState =

Right (StakeSnapshot snapshot) -> do
-- Calculate the three pool and active stake values for the given pool
liftIO . (maybe LBS.putStrLn (LBS.writeFile . unOutputFile) mOutFile) $ encodePretty snapshot
liftIO . maybe LBS.putStrLn (LBS.writeFile . unOutputFile) mOutFile $ encodePretty snapshot

-- | This function obtains the pool parameters, equivalent to the following jq query on the output of query ledger-state
-- .nesEs.esLState._delegationState._pstate._pParams.<pool_id>
Expand Down

0 comments on commit 73a2769

Please sign in to comment.