Skip to content

Commit

Permalink
Merge branch 'feature/agent-memeooorr' into fix/agent-running
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Dec 14, 2024
2 parents 231dbaf + 77312dd commit 043014c
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const AgentNotRunningButton = () => {
return (serviceTotalStakedOlas ?? 0) >= requiredStakedOlas;
}

if (isEligibleForStaking && isAgentEvicted) return true;
if (isEligibleForStaking && !isAgentEvicted) return true;

if (isServiceStaked) {
const hasEnoughOlas =
Expand Down Expand Up @@ -148,12 +148,11 @@ export const AgentNotRunningButton = () => {
isServiceStaked,
masterSafeBalances,
service,
storeState?.isInitialFunded,
storeState,
isEligibleForStaking,
isAgentEvicted,
masterSafeNativeGasBalance,
selectedAgentConfig.operatingThresholds,
selectedAgentConfig.evmHomeChainId,
selectedAgentConfig,
serviceTotalStakedOlas,
serviceSafeOlasWithStaked,
]);
Expand Down

0 comments on commit 043014c

Please sign in to comment.