fixup bwUplink check (still approximate)

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
Csaba Kiraly 2023-02-07 14:44:33 +01:00
parent bb8d05257b
commit 07437ddde8
No known key found for this signature in database
GPG Key ID: 0FE274EE8C95166E
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ class Validator:
# until we exhaust capacity # until we exhaust capacity
# TODO: use exact limit # TODO: use exact limit
if self.statsTxInSlot >self.bwUplink: if self.statsTxInSlot >= self.bwUplink:
return return
# Scheduler exited, nothing to send. Create new one for next round. # Scheduler exited, nothing to send. Create new one for next round.