File tree Expand file tree Collapse file tree
cardano-cli/src/Cardano/CLI/EraBased Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2263,14 +2263,14 @@ pInvalidHereafter
22632263pInvalidHereafter eon =
22642264 fmap (TxValidityUpperBound $ convert eon) $
22652265 asum
2266- [ fmap (L. SJust . SlotNo ) $
2266+ [ fmap (Just . SlotNo ) $
22672267 Opt. option (bounded " SLOT" ) $
22682268 mconcat
22692269 [ Opt. long " invalid-hereafter"
22702270 , Opt. metavar " SLOT"
22712271 , Opt. help " Time that transaction is valid until (in slots)."
22722272 ]
2273- , fmap (L. SJust . SlotNo ) $
2273+ , fmap (Just . SlotNo ) $
22742274 Opt. option (bounded " SLOT" ) $
22752275 mconcat
22762276 [ Opt. long " upper-bound"
@@ -2282,15 +2282,15 @@ pInvalidHereafter eon =
22822282 ]
22832283 , Opt. internal
22842284 ]
2285- , fmap (L. SJust . SlotNo ) $
2285+ , fmap (Just . SlotNo ) $
22862286 Opt. option (bounded " SLOT" ) $
22872287 mconcat
22882288 [ Opt. long " ttl"
22892289 , Opt. metavar " SLOT"
22902290 , Opt. help " Time to live (in slots) (deprecated; use --invalid-hereafter instead)."
22912291 , Opt. internal
22922292 ]
2293- , pure L. SNothing
2293+ , pure Nothing
22942294 ]
22952295
22962296pTxFee :: Parser Lovelace
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ import Data.Data ((:~:) (..))
8787import Data.Foldable qualified as Foldable
8888import Data.List qualified as List
8989import Data.Map.Strict qualified as Map
90- import Data.Maybe.Strict (strictMaybe )
9190import Data.Set qualified as Set
9291import Data.Text qualified as Text
9392import Data.Text.IO qualified as Text
@@ -926,7 +925,7 @@ constructTxBodyContent
926925 & maybe id Exp. setTxTotalCollateral txTotCollateral
927926 & Exp. setTxFee fee
928927 & maybe id Exp. setTxValidityLowerBound mLowerBound
929- & strictMaybe id Exp. setTxValidityUpperBound mUpperBound
928+ & maybe id Exp. setTxValidityUpperBound mUpperBound
930929 & Exp. setTxMetadata expTxMetadata
931930 & Exp. setTxAuxScripts auxScripts
932931 & Exp. setTxWithdrawals validatedWithdrawals
You can’t perform that action at this time.
0 commit comments