Skip to content

Commit

Permalink
hlint: fix suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
disassembler authored and Lucsanszky committed May 9, 2024
1 parent b8cca22 commit 67e109c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cardano-node/src/Cardano/Tracing/OrphanInstances/Shelley.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
{-# LANGUAGE EmptyCase #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralisedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE QuantifiedConstraints #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
Expand Down Expand Up @@ -400,7 +398,7 @@ instance Ledger.EraPParams era => ToObject (Conway.ConwayGovPredFailure era) whe
mconcat [ "kind" .= String "DisallowedProposalDuringBootstrap"
, "proposal" .= proposal
]

toObject _ (Conway.DisallowedVotesDuringBootstrap votes) =
mconcat [ "kind" .= String "DisallowedVotesDuringBootstrap"
, "votes" .= votes
Expand Down

0 comments on commit 67e109c

Please sign in to comment.