Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
polipaul committed Jul 14, 2023
1 parent 22d7d9c commit 2b0b5a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/agents/AbstractAgent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,6 @@ export abstract class AbstractAgent implements IAgent {
return this.executor.push(`other-tx-type/${nowMs()}`, envelope);
}


protected activateOrTerminateAgentIfRequired() {
if (!this.isAgentUp && this.myStakeIsSufficient() && this.myKeeperIsActive) {
this.activateAgent();
Expand Down
3 changes: 2 additions & 1 deletion app/agents/Agent.2.3.0.randao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ export class AgentRandao_2_3_0 extends AbstractAgent implements IRandaoAgent {
});

this.contract.on('SetRdConfig', event => {
const { slashingEpochBlocks, period1, period2, slashingFeeFixedCVP, slashingFeeBps, jobMinCreditsFinney } = event.args[0];
const { slashingEpochBlocks, period1, period2, slashingFeeFixedCVP, slashingFeeBps, jobMinCreditsFinney } =
event.args[0];

this.clog(`'SetRdConfig' event 🔈: (block=${event.blockNumber}. Restarting all the jobs...`);

Expand Down

0 comments on commit 2b0b5a2

Please sign in to comment.