Omniscia MetaSoccer Audit

EntropyManager Static Analysis Findings

EntropyManager Static Analysis Findings

EMR-01S: Redundant bool Variable Comparison

Description:

The linked statements perform a direct comparison between a bool variable and a bool literal.

Example:

contracts/EntropyManager.sol
92require(request.finished == false, "Requested existent entropy");

Recommendation:

We advise the bool variable to be utilized directly instead either in its normal or negated (!) form.

Alleviation:

Direct utilization of the bool variable is now present in the codebase.