@0x/contracts-staking: Well, it almost worked.

This commit is contained in:
Lawrence Forman
2019-09-16 10:55:50 -04:00
committed by Lawrence Forman
parent 38b94ec5f8
commit 7ef3c12722
11 changed files with 912 additions and 127 deletions

View File

@@ -57,6 +57,9 @@ library LibFractions {
pure
returns (uint256 result)
{
if (s == 0) {
return 0;
}
if (n2 == 0) {
return result = s
.safeMul(n1)