diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-23 12:04:49 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-07-23 23:02:51 +0800 |
commit | dcc0908617b83de8f45af3e9ca6854b897be3d72 (patch) | |
tree | 061bbbc74e77143819aca9d9de3cde59566b5972 /packages/contracts/src/2.0.0/utils/SafeMath | |
parent | 45d68285f14ba328e1bf5a8cc9e59cdb39d7f306 (diff) | |
download | dexon-sol-tools-dcc0908617b83de8f45af3e9ca6854b897be3d72.tar.gz dexon-sol-tools-dcc0908617b83de8f45af3e9ca6854b897be3d72.tar.zst dexon-sol-tools-dcc0908617b83de8f45af3e9ca6854b897be3d72.zip |
Add more tests and fixes
Diffstat (limited to 'packages/contracts/src/2.0.0/utils/SafeMath')
-rw-r--r-- | packages/contracts/src/2.0.0/utils/SafeMath/SafeMath.sol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/src/2.0.0/utils/SafeMath/SafeMath.sol b/packages/contracts/src/2.0.0/utils/SafeMath/SafeMath.sol index 190989181..63a2a085f 100644 --- a/packages/contracts/src/2.0.0/utils/SafeMath/SafeMath.sol +++ b/packages/contracts/src/2.0.0/utils/SafeMath/SafeMath.sol @@ -34,7 +34,7 @@ contract SafeMath { { require( b <= a, - "UINT256_OVERFLOW" + "UINT256_UNDERFLOW" ); return a - b; } |