Update Counter.sol (#1917)
* Update Counter.sol Added a comment in increment to make this more visible to not use SafeMath here. * Update Counters.sol
This commit is contained in:
committed by
Nicolás Venturo
parent
19a41980a1
commit
b33b906b6e
@ -28,6 +28,7 @@ library Counters {
|
||||
}
|
||||
|
||||
function increment(Counter storage counter) internal {
|
||||
// The {SafeMath} overflow check can be skipped here, see the comment at the top
|
||||
counter._value += 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user