Skip to content

Commit

Permalink
Change return to pure in PVBUMP.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnadales committed Jun 25, 2019
1 parent 89924fd commit 88b657e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions byron/ledger/executable-spec/src/Ledger/Update.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1387,10 +1387,10 @@ instance STS PVBUMP where
Nothing -> []
Just s -> filter ((<= s) . fst) fads
if r == []
then return $! (pv, pps)
then pure $! (pv, pps)
else do
let (_, (pv_c, pps_c)) = last r
return $! (pv_c, pps_c)
pure $! (pv_c, pps_c)
]

data UPIEC
Expand Down

0 comments on commit 88b657e

Please sign in to comment.