Skip to content

Commit 8e735c2

Browse files
committed
cleanup
1 parent 8f342d9 commit 8e735c2

File tree

1 file changed

+0
-5
lines changed
  • plutus-core/plutus-core/src/PlutusCore

1 file changed

+0
-5
lines changed

plutus-core/plutus-core/src/PlutusCore/Value.hs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -487,11 +487,6 @@ scaleValue c (Value outer sizes size neg)
487487
-- When scaling by negative factor, only need to "flip" negative amounts.
488488
| c < 0 = do
489489
outer' <- go outer
490-
-- let
491-
-- neg' = Map.foldl' alg 0 outer'
492-
-- alg n inner = n + Map.size (Map.filter (< zeroQuantity) inner)
493-
494-
-- TODO: make sure (size - neg) is correct
495490
BuiltinSuccess $ Value outer' sizes size (size - neg)
496491
-- Scaling by 0 is always empty value
497492
| otherwise = BuiltinSuccess empty

0 commit comments

Comments
 (0)