diff --git a/cardano-cli/src/Cardano/CLI/Compatible/Governance.hs b/cardano-cli/src/Cardano/CLI/Compatible/Governance.hs index 13c76df37b..ef585937c4 100644 --- a/cardano-cli/src/Cardano/CLI/Compatible/Governance.hs +++ b/cardano-cli/src/Cardano/CLI/Compatible/Governance.hs @@ -15,6 +15,7 @@ import Cardano.CLI.EraBased.Options.Governance import Cardano.CLI.EraBased.Run.Governance import Cardano.CLI.Types.Errors.CmdError +import Control.Applicative import Data.Maybe import Data.Text import Options.Applicative diff --git a/cardano-cli/src/Cardano/CLI/Compatible/Transaction.hs b/cardano-cli/src/Cardano/CLI/Compatible/Transaction.hs index 8d068760eb..f34ca87f13 100644 --- a/cardano-cli/src/Cardano/CLI/Compatible/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/Compatible/Transaction.hs @@ -27,6 +27,7 @@ import Cardano.CLI.Types.Common import Cardano.CLI.Types.Errors.BootstrapWitnessError import Cardano.CLI.Types.Errors.TxCmdError +import Control.Applicative import Data.Function import Data.Text (Text) import Options.Applicative @@ -156,7 +157,7 @@ pRefScriptFp = ( const $ ReferenceScriptAnyEra <$> parseFilePath "tx-out-reference-script-file" "Reference script input file." - <|> pure ReferenceScriptAnyEraNone + <|> pure ReferenceScriptAnyEraNone ) -- TODO: After QA confirmms that the new compatibility commands meet their needs