Cyfrin / solidity-by-example.github.io

Solidity By Example
https://solidity-by-example.org/
MIT License
605 stars 191 forks source link

The calculation of _secondsToIncrease #164

Closed tanliwei closed 3 years ago

tanliwei commented 3 years ago

Hi, buddy, the calculation of _secondsToIncrease missing adding one to reach the condition to the overflow. The test for the codes has been done on remix.

t4sk commented 3 years ago

thanks