From 0b1f08043b51a23680f091f182071c5e718d0f79 Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Sun, 2 Jul 2017 17:56:10 -0300 Subject: [PATCH] change Math to a library instead of a contract --- contracts/math/Math.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/math/Math.sol b/contracts/math/Math.sol index fa89c371f..3d016c0ac 100644 --- a/contracts/math/Math.sol +++ b/contracts/math/Math.sol @@ -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; }