Skip to content

Unnecessary equals boolean #20

@code423n4

Description

@code423n4

Handle

mics

Vulnerability details

Boolean variables can be checked within conditionals directly without the use of equality operators to true/false.

    ControllerV1.sol, 156: if (marketExtraDistribution[marketId] == false) {
    ControllerV1.sol, 121: if (marketExtraDistribution[marketId] == false) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    G (Gas Optimization)bugSomething isn't workingsponsor acknowledgedTechnically the issue is correct, but we're not going to resolve it for XYZ reasons

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions