Skip to content

Commit 2acac91

Browse files
author
gege251
committed
Merge branch 'gergely/wait-slots' of github.com:mlabs-haskell/bot-plutus-interface into gergely/manual-sign
2 parents cfd02c7 + c6189c1 commit 2acac91

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/BotPlutusInterface/CardanoCLI.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,12 +381,12 @@ validRangeOpts :: SlotRange -> [Text]
381381
validRangeOpts (Interval lowerBound upperBound) =
382382
mconcat
383383
[ case lowerBound of
384-
LowerBound (Finite (Slot x)) True -> ["--invalid-hereafter", showText x]
385-
LowerBound (Finite (Slot x)) False -> ["--invalid-hereafter", showText (x + 1)]
384+
LowerBound (Finite (Slot x)) True -> ["--invalid-before", showText x]
385+
LowerBound (Finite (Slot x)) False -> ["--invalid-before", showText (x + 1)]
386386
_ -> []
387387
, case upperBound of
388-
UpperBound (Finite (Slot x)) True -> ["--invalid-before", showText (x + 1)]
389-
UpperBound (Finite (Slot x)) False -> ["--invalid-before", showText x]
388+
UpperBound (Finite (Slot x)) True -> ["--invalid-hereafter", showText (x + 1)]
389+
UpperBound (Finite (Slot x)) False -> ["--invalid-hereafter", showText x]
390390
_ -> []
391391
]
392392

0 commit comments

Comments
 (0)