issues
search
keep3r-network
/
keep3r.network
An incentivized keeper network for anonymous keeper and job registration
372
stars
117
forks
source link
Unify SafeMath logic between add and sub
#43
Closed
Soleone
closed
3 years ago
Soleone
commented
3 years ago
Small cleanup that doesn't change the behavior, but should make it easier to reason about this section of the code and help with audits.
Removes some duplicated
add
logic.
Now
add(a, b)
and
sub(a, b)
use the same approach to delegate to the overloaded function.
add
logic.add(a, b)
andsub(a, b)
use the same approach to delegate to the overloaded function.