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