Skip to content

Commit d689484

Browse files
committed
Fix build error
1 parent 97c1553 commit d689484

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/Cardano/Transaction/Builder.purs

+2-2
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@ useMintAssetWitness scriptHash assetName amount witness = do
504504
let
505505
thisMint = Mint.singleton scriptHash assetName amount
506506
newMint <- case mbMint of
507-
Nothing -> pure thisMint
507+
Nothing -> pure $ Just thisMint
508508
Just mint -> pure $ Mint.union mint thisMint
509-
modify_ $ _transaction <<< _body <<< _mint .~ Just newMint
509+
modify_ $ _transaction <<< _body <<< _mint .~ newMint
510510

511511
assertScriptHashMatchesCredentialWitness
512512
:: ScriptHash

0 commit comments

Comments
 (0)