Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MakarenkoAI committed Oct 29, 2024
1 parent 191a8f1 commit 651ae43
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ ScResult MessageReplyAgent::DoProgram(ScActionInitiatedEvent const & event, ScAc

ScAction actionToInterpret = m_context.GenerateAction(commonModule::Keynodes::action_interpret_non_atomic_action);
actionToInterpret.SetArguments(processingProgramAddr, generateNonAtomicActionArgsSet(messageAddr));

if (!actionToInterpret.InitiateAndWait(WAIT_TIME) || !actionToInterpret.IsFinishedSuccessfully())
actionToInterpret.InitiateAndWait(WAIT_TIME);

if (!actionToInterpret.IsFinishedSuccessfully())
{
SC_AGENT_LOG_ERROR("Action wait time expired or action not finished successfully");
return action.FinishUnsuccessfully();
Expand Down

0 comments on commit 651ae43

Please sign in to comment.