Open code423n4 opened 3 years ago
leastwood
There are a couple of typos found within the Reserve.sol contract.
Reserve.sol
https://github.com/pooltogether/v4-core/blob/master/contracts/Reserve.sol#L20 https://github.com/pooltogether/v4-core/blob/master/contracts/Reserve.sol#L21
Manual code review
Consider updating the typo in Reserve.sol:L20 from speicific to specific and the typo in Reserve.sol:L21 from determininstially to deterministically.
Reserve.sol:L20
speicific
specific
Reserve.sol:L21
determininstially
deterministically
done in commit https://github.com/pooltogether/v4-core/commit/5357854748c5a673a9e4d30c285cf051f76bf103
The sponsor has fixed the typos
Handle
leastwood
Vulnerability details
Impact
There are a couple of typos found within the
Reserve.sol
contract.Proof of Concept
https://github.com/pooltogether/v4-core/blob/master/contracts/Reserve.sol#L20 https://github.com/pooltogether/v4-core/blob/master/contracts/Reserve.sol#L21
Tools Used
Manual code review
Recommended Mitigation Steps
Consider updating the typo in
Reserve.sol:L20
fromspeicific
tospecific
and the typo inReserve.sol:L21
fromdetermininstially
todeterministically
.