1.1.8 - Election Legality
This commit is contained in:
parent
98610f0957
commit
b5997aeb5b
2
tally.js
2
tally.js
|
@ -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 })
|
||||
|
|
Loading…
Reference in New Issue