code-423n4 / 2021-12-pooltogether-findings

0 stars 0 forks source link

unsafe casts #119

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Handle

certora

Vulnerability details

there are unsafe casts from uint256 to uint64 in _calculateRewardAmount

Recommended Mitigation Steps

use safe cast.

PierrickGT commented 2 years ago

Duplicate of https://github.com/code-423n4/2021-12-pooltogether-findings/issues/58