diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs index 17d3d0926..8ff93110a 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs @@ -752,8 +752,8 @@ runQueryRefScriptSizeCmd & onLeft left newtype RefInputScriptSize = RefInputScriptSize {refInputScriptSize :: Int} - deriving (Generic) - deriving anyclass (ToJSON) + deriving Generic + deriving anyclass ToJSON instance Pretty RefInputScriptSize where pretty (RefInputScriptSize s) = "Reference inputs scripts size is" <+> pretty s <+> "bytes."