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
296296
297297 ctxout <-
298298 mapLeft (Text. pack . show ) $
299- toCardanoTxOutForked netId TxApi. toCardanoTxOutDatumHash txout
299+ toCardanoTxOutPossibleZeroAda netId TxApi. toCardanoTxOutDatumHash txout
300300
301301 let (Coin minTxOut) =
302302 evaluateMinLovelaceOutput pparamsInEra $
@@ -309,13 +309,13 @@ calcMinUtxo pabconf txout = do
309309 else return txout
310310 where
311311 -- We need to redefine this to remove error reporting with 0 ada outputs.
312- toCardanoTxOutValue value = do
312+ toCardanoTxOutValuePossibleZeroAda value = do
313313 -- when (Ada.fromValue value == mempty) (Left OutputHasZeroAda)
314314 CApi. TxOutValue CApi. MultiAssetInBabbageEra <$> toCardanoValue value
315315
316- toCardanoTxOutForked networkId fromHash (TxOut addr value datumHash) =
316+ toCardanoTxOutPossibleZeroAda networkId fromHash (TxOut addr value datumHash) =
317317 CApi. TxOut <$> toCardanoAddressInEra networkId addr
318- <*> toCardanoTxOutValue value
318+ <*> toCardanoTxOutValuePossibleZeroAda value
319319 <*> fromHash datumHash
320320 <*> pure CApi.S. ReferenceScriptNone
321321
You can’t perform that action at this time.
0 commit comments