28910 - [SC - High] Bool check wrong in registerGauge
Description
Brief/Intro
Vulnerability Details
mapping(address => bool) public isPool; // pool => bool
if (!isPool[_asset]) {
_pools.push(_asset);
isPool[_asset] = true;
}Impact Details
References
Proof of concept
Previous28892 - [SC - Medium] ZeroLockermerge can make a voting lock last lon...Next28912 - [SC - Critical] Attackers can control the vote result and ampli...
Last updated
Was this helpful?