Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljakubas authored and abailly committed Dec 16, 2024
1 parent f354b65 commit eab1d67
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/api/src/Cardano/Wallet/Api/Http/Shelley/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2715,7 +2715,10 @@ constructTransaction api knownPools poolStatus apiWalletId body = do
(Map.singleton (Cosigner 0) policyXPub)
<$> mintBurnReferenceScriptTemplate
Nothing ->
liftHandler $ throwE W.ErrReadPolicyPublicKeyAbsent
if isJust mintBurnReferenceScriptTemplate then
liftHandler $ throwE W.ErrReadPolicyPublicKeyAbsent
else
pure Nothing

let transactionCtx3 = transactionCtx2
{ txReferenceScript = referenceScriptM
Expand Down

0 comments on commit eab1d67

Please sign in to comment.