Skip to content

Commit

Permalink
Merge pull request #6 from gldeng/experiment/modular-contract
Browse files Browse the repository at this point in the history
Fix boolean
  • Loading branch information
gldeng authored Apr 23, 2024
2 parents 1a1bc66 + d23bc99 commit 285e714
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private bool IsBadStateField(FieldDefinition field)
return false;

if(field.FieldType.Resolve().BaseType.FullName == typeof(StructuredState).FullName)
return true;
return false;

// If not ContractReferenceState then it is not allowed
return field.FieldType.Resolve().BaseType.FullName != typeof(ContractReferenceState).FullName;
Expand Down

0 comments on commit 285e714

Please sign in to comment.