Open hats-bug-reporter[bot] opened 5 days ago
Same as #104 , thanks, but not a low issue.
Just to note: these errors have a uint8 code
that identifies where in the code they are thrown, so that the developer can know what which data the error concerns
Github username: -- Twitter username: -- Submission hash (on-chain): 0x97175c3b5ad7714858d29433b82be58c2b204785f3f0040cf77c3a6b3b0a88e4 Severity: low
Description: Description\ The function
_verifyFlowMatrix()
containsif()
condition that checks if:However, incorrect error message is being reverted in
CirclesArraysLengthMismatch(_flow.length, _coordinates.length, 2);
._flow.length
is multiplied by 3 in the if condition, but in the error message, it is only_flow.length
, causing a mismatch between the logic and the revert error.Recommendation\ To fix this, the revert error message should correctly reflect the logic as follows: