use gasPerf for negative performance check

it's the same in actually because effPerf<0 iff gasPerf<0, but we should be consistent

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
vyzo
2020-08-13 14:08:11 +02:00
committed by Jakub Sztandera
parent f3eec33bec
commit 09f5a64ce0
+1 -1
View File
@@ -154,7 +154,7 @@ func (mp *MessagePool) selectMessagesOptimal(curTs, ts *types.TipSet, tq float64
last := len(chains)
for i, chain := range chains {
// did we run out of performing chains?
if chain.effPerf < 0 {
if chain.gasPerf < 0 {
break
}