File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ calcMinUtxo pabconf txout = do
296
296
297
297
ctxout <-
298
298
mapLeft (Text. pack . show ) $
299
- toCardanoTxOutForked netId TxApi. toCardanoTxOutDatumHash txout
299
+ toCardanoTxOutPossibleZeroAda netId TxApi. toCardanoTxOutDatumHash txout
300
300
301
301
let (Coin minTxOut) =
302
302
evaluateMinLovelaceOutput pparamsInEra $
@@ -309,13 +309,13 @@ calcMinUtxo pabconf txout = do
309
309
else return txout
310
310
where
311
311
-- We need to redefine this to remove error reporting with 0 ada outputs.
312
- toCardanoTxOutValue value = do
312
+ toCardanoTxOutValuePossibleZeroAda value = do
313
313
-- when (Ada.fromValue value == mempty) (Left OutputHasZeroAda)
314
314
CApi. TxOutValue CApi. MultiAssetInBabbageEra <$> toCardanoValue value
315
315
316
- toCardanoTxOutForked networkId fromHash (TxOut addr value datumHash) =
316
+ toCardanoTxOutPossibleZeroAda networkId fromHash (TxOut addr value datumHash) =
317
317
CApi. TxOut <$> toCardanoAddressInEra networkId addr
318
- <*> toCardanoTxOutValue value
318
+ <*> toCardanoTxOutValuePossibleZeroAda value
319
319
<*> fromHash datumHash
320
320
<*> pure CApi.S. ReferenceScriptNone
321
321
You can’t perform that action at this time.
0 commit comments