Skip to content

Commit

Permalink
[fix] ContractAPI.getApplicable was returning noNext when a Contract …
Browse files Browse the repository at this point in the history
…is Active
  • Loading branch information
nhenin committed Jan 16, 2024
1 parent bf47bb0 commit 9df842e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime/lifecycle/src/generic/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const getApplicableInputs =
const contractDetails = await unsafeTaskEither(
deprecatedRestAPI.contracts.contract.get(contractId)
);
if (contractDetails.state) {
if (!contractDetails.state) {
return noNext;
} else {
const parties = await getParties(wallet)(
Expand Down

0 comments on commit 9df842e

Please sign in to comment.