@0x/contracts-staking: Last call before embarking of V3 of staking integration.

This commit is contained in:
Lawrence Forman
2019-09-16 13:23:33 -04:00
committed by Lawrence Forman
parent 7ef3c12722
commit 0196ce18f3
3 changed files with 109 additions and 30 deletions

View File

@@ -57,7 +57,7 @@ library LibFractions {
pure
returns (uint256 result)
{
if (s == 0) {
if (s == 0 || d1 == 0) {
return 0;
}
if (n2 == 0) {