1.1.8 - Election Legality

This commit is contained in:
Steven Ettinger 2023-03-16 12:32:44 -03:00 committed by GitHub
parent 98610f0957
commit b5997aeb5b
Signed by untrusted user: github
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ exports.tally = (num, plasma, isStreaming) => {
if(config.features.pob)ops.push({ type: 'put', path: ['balances', 'rc'], data: rbal.rc - (this_payout - change[0]) })
var legal = 0
for (node in stats.ms.active_account_auths) {
if(Object.keys(still_running).includes(node))legal++
if(Object.keys(new_queue).includes(node))legal++
}
if(Object.keys(still_running).length > 1 && legal) ops.push(
{ type: 'put', path: ['runners'], data: still_running })