Skip to content

Commit

Permalink
A tiny naming fix to slip in
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Dimjašević committed Jul 22, 2019
1 parent 1e773ec commit 3c6d2b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions byron/ledger/executable-spec/test/Ledger/UTxO/Properties.hs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ relevantCasesAreCovered = withTests 400 $ property $ do
cover 20 "avg. nr. of tx outputs (1,5]" (1 <= avgOutputs && avgOutputs <= 5)
cover 20 "avg. nr. of tx outputs (5,10]" (5 < avgOutputs && avgOutputs <= 10)

cover 80 "starting UTxO has no future outputs" (all (== empty) (futureOutputs tr))
cover 80 "starting UTxO has no future inputs" (all (== empty) (futureInputs tr))
where
-- | The average "fee surplus" for transactions in the trace.
-- Could be zero if all the transactions had zero surplus fee.
Expand All @@ -120,8 +120,8 @@ relevantCasesAreCovered = withTests 400 $ property $ do

-- | The intersection of the starting UTxO and each transaction in
-- a trace
futureOutputs :: Trace UTXOW -> [Set TxIn]
futureOutputs tr =
futureInputs :: Trace UTXOW -> [Set TxIn]
futureInputs tr =
let
UTxOState {utxo = utxo0} = _traceInitState tr
txs = body <$> traceSignals OldestFirst tr
Expand Down

0 comments on commit 3c6d2b9

Please sign in to comment.