Skip to content

Commit

Permalink
One line fix without Set.difference
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSheard authored and Jared Corduan committed Oct 27, 2020
1 parent e089c22 commit 932ea6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ utxoInductive = do
minFee <= txFee ?! FeeTooSmallUTxO minFee txFee

eval (txins txb dom utxo)
?! BadInputsUTxO (txins txb `Set.difference` eval (dom utxo))
?! BadInputsUTxO (Set.filter (\x -> not (Map.member x (unUTxO utxo))) (txins txb))

ni <- liftSTS $ asks networkId
let addrsWrongNetwork =
Expand Down

0 comments on commit 932ea6c

Please sign in to comment.