@0x/contracts-staking: Well, it almost worked.
This commit is contained in:
committed by
Lawrence Forman
parent
38b94ec5f8
commit
7ef3c12722
@@ -57,6 +57,9 @@ library LibFractions {
|
||||
pure
|
||||
returns (uint256 result)
|
||||
{
|
||||
if (s == 0) {
|
||||
return 0;
|
||||
}
|
||||
if (n2 == 0) {
|
||||
return result = s
|
||||
.safeMul(n1)
|
||||
|
||||
Reference in New Issue
Block a user