Multiple instances across code, for example: here.
As hinted by the @audit tag, this function uses a swapped bool value; however, this should instead be swap**P**ed.
Another instance is the below where required hasnt been rightly spelled, here:
Bad naming conventions, hard to understand code.
Consider applying these fixes here.
