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