working() wasnt working

This commit is contained in:
tim
2025-11-10 22:32:44 -04:00
parent 74daea17d7
commit 64c2245f25

View File

@@ -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;
} }
// //