style: use the max-len solidity rule (#944)

This commit is contained in:
Leo Arias
2018-05-14 11:42:32 -06:00
committed by GitHub
parent ba4cf03da7
commit 746673a94f
36 changed files with 430 additions and 69 deletions

View File

@ -49,7 +49,10 @@ contract DayLimit {
}
// check to see if there's enough left - if so, subtract and return true.
// overflow protection // dailyLimit check
if (spentToday + _value >= spentToday && spentToday + _value <= dailyLimit) {
if (
spentToday + _value >= spentToday &&
spentToday + _value <= dailyLimit
) {
spentToday += _value;
return true;
}