working() wasnt working
This commit is contained in:
@@ -26,10 +26,10 @@ contract PartyInfo is PartyPoolHelpers, IPartyInfo {
|
|||||||
if (pool.killed())
|
if (pool.killed())
|
||||||
return false;
|
return false;
|
||||||
LMSRStabilized.State memory s = pool.LMSR();
|
LMSRStabilized.State memory s = pool.LMSR();
|
||||||
uint256 sum = 0;
|
|
||||||
for( uint i=0; i<s.qInternal.length; i++ )
|
for( uint i=0; i<s.qInternal.length; i++ )
|
||||||
sum += s.qInternal[i];
|
if (s.qInternal[i] > 0)
|
||||||
return sum > 0;
|
return true;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user