mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-03-25 21:13:07 +00:00
fix logic bug that prevents proofsystem reports.
This commit is contained in:
parent
c15de74302
commit
c47d133db0
@ -86,7 +86,7 @@ namespace CodexContractsPlugin.ChainMonitor
|
||||
|
||||
private void CalcStats()
|
||||
{
|
||||
IsEmpty = Reports.Any(r => r.TotalProofsRequired > 0);
|
||||
IsEmpty = Reports.All(r => r.TotalProofsRequired == 0);
|
||||
PeriodLow = Reports.Min(r => r.PeriodNumber);
|
||||
PeriodHigh = Reports.Max(r => r.PeriodNumber);
|
||||
AverageNumSlots = Reports.Average(r => Convert.ToSingle(r.TotalNumSlots));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user