change Math to a library instead of a contract

This commit is contained in:
Francisco Giordano
2017-07-02 17:56:10 -03:00
parent 759f8de81f
commit 0b1f08043b

View File

@ -5,7 +5,7 @@ pragma solidity ^0.4.11;
* @dev Assorted math operations
*/
contract Math {
library Math {
function max64(uint64 a, uint64 b) internal constant returns (uint64) {
return a >= b ? a : b;
}