Closed code423n4 closed 2 years ago
pedroais
The claiming percentage can be set to 0 for a claimer https://github.com/code-423n4/2022-01-sandclock/blob/a90ad3824955327597be00bb0bd183a9c228a4fb/sandclock/contracts/Vault.sol#L420
Require claim.ptc != 0
Fixed in https://github.com/sandclock-org/solidity-contracts/pull/85
Handle
pedroais
Vulnerability details
Impact
The claiming percentage can be set to 0 for a claimer https://github.com/code-423n4/2022-01-sandclock/blob/a90ad3824955327597be00bb0bd183a9c228a4fb/sandclock/contracts/Vault.sol#L420
Recommended Mitigation Steps
Require claim.ptc != 0