I'm running a tool to audit my smart contract and I got as report the following:
uses timestamp for comparisons / Dangerous comparisons :
require(block.timestamp > nextPayment, "Payement not due yet");
I've done more research and I found that block.timestamp can be manipulated by miners which is why is better to use other methods for comparison than block.timestamp
Do you have any method safer than this one ?
Nb: block.timestamp defines the Now in solidity