Skip to content

Commit 74a8e40

Browse files
committed
wip
1 parent 453c884 commit 74a8e40

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

submit-api/src/SubmitAPI/Internal/Balancing.hs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# LANGUAGE OverloadedStrings #-}
2-
31
module SubmitAPI.Internal.Balancing where
42

53
import Prelude
@@ -259,9 +257,9 @@ makeTransactionBodyAutoBalance eraInMode systemstart history pparams
259257
| otherwise = do
260258
let chargeBoxWillBeMerged = isJust $ find (\(TxOut boxAddr _ _ _) -> boxAddr == changeaddr) outs
261259
if chargeBoxWillBeMerged
262-
then
260+
then
263261
Right ()
264-
else
262+
else
265263
case checkMinUTxOValue (TxOut changeaddr balance TxOutDatumNone ReferenceScriptNone) pparams of
266264
Left (TxBodyErrorMinUTxONotMet txOutAny minUTxO) ->
267265
Left $ TxBodyErrorAdaBalanceTooSmall txOutAny minUTxO (txOutValueToLovelace balance)

submit-api/submit-api.cabal

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,13 @@ test-suite submit-api-tests
141141
, base16-bytestring
142142
, bytestring
143143
, plutus-ledger-api
144-
, quickblue
145144
, cardano-api
146145
, ouroboros-consensus
147146
, random
148147
, plutus-tx
149148
, plutus-ledger-api
150149
, plutus-script-utils
151-
, ergo-hs-common
152150
, plutus-ledger
153-
, hlog
154151
, containers
155152
, random-strings
156153
, plutus-core
@@ -159,9 +156,7 @@ test-suite submit-api-tests
159156
, submit-api
160157
, cardano-tx
161158
, network-api
162-
, memory
163159
, wallet-api
164160
, serialise
165-
, resourcet
166161
, cardano-dex-contracts-offchain
167162
, cardano-ledger-alonzo

0 commit comments

Comments
 (0)