Skip to content

Commit

Permalink
Fixed wait state reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed May 17, 2024
1 parent fe3b85f commit c5f2c47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dkgServiceNode/Controllers/NodesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ internal async Task<ObjectResult> TrToRunningStepTwoConditional(Round? round, No
}

runner.SetStepTwoWaitingTime(round);
await UpdateNodeState(node, (short)stReport.Status, round?.Id);

if (stReport.Data.Length != 0)
{
Expand All @@ -192,6 +193,7 @@ internal async Task<ObjectResult> TrToRunningStepThreeConditional(Round? round,
}

runner.SetStepThreeWaitingTime(round);
await UpdateNodeState(node, (short)stReport.Status, round?.Id);

if (stReport.Data.Length != 0)
{
Expand Down
1 change: 1 addition & 0 deletions dkgServiceNode/Data/DbEnsure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ public static void Ensure(string connectionString)
PuVersionUpdate("0.4.2", connection);
EnsureVersion("0.4.3", sqlScript_0_4_3, connection);
EnsureVersion("0.5.0", sqlScript_0_5_0, connection);
PuVersionUpdate("0.5.1", connection);
}
}
}
Expand Down

0 comments on commit c5f2c47

Please sign in to comment.