File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 1- {-# LANGUAGE OverloadedStrings #-}
2-
31module SubmitAPI.Internal.Balancing where
42
53import 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)
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments