Skip to content

Commit

Permalink
Fix marlowe-cli test interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbertra committed Jun 2, 2023
1 parent 1fec95f commit a6757f2
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -421,7 +421,7 @@ interpret ro@RuntimeCreateContract {..} = do
, collateralUtxos = mempty
}

Marlowe.Class.createContract Nothing MarloweV1 walletAddresses roleTokensConfig emptyMarloweTransactionMetadata minLovelace contract
Marlowe.Class.createContract Nothing MarloweV1 walletAddresses roleTokensConfig emptyMarloweTransactionMetadata minLovelace $ Left contract
era <- view eraL
case result of
Right Transaction.ContractCreated { txBody, contractId } -> do
Expand Down Expand Up @@ -537,4 +537,3 @@ interpret ro@RuntimeApplyInputs {..} = do
throwLabeledError ro $ runtimeOperationFailed' $ "Failed to submit contract: " <> show err
Left err ->
throwLabeledError ro $ runtimeOperationFailed' $ "Failed to create contract: " <> show err

0 comments on commit a6757f2

Please sign in to comment.