From b370a5b54126688bebb8517f856021b4617bc11e Mon Sep 17 00:00:00 2001 From: Carlos LopezDeLara Date: Thu, 19 Dec 2024 21:14:51 -0600 Subject: [PATCH] Update Query.hs --- cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs index 17d3d0926b..8ff93110a9 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."