Skip to content

Commit

Permalink
fix(deployment): skip stale deployment cleanup tx if no found
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrishajev committed Dec 16, 2024
1 parent 7eeb85e commit b5d799d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export class StaleManagedDeploymentsCleanerService {

const messages = deployments.map(deployment => this.rpcMessageService.getCloseDeploymentMsg(wallet.address, deployment.dseq));

if (!messages.length) {
return;
}

this.logger.info({ event: "DEPLOYMENT_CLEAN_UP", owner: wallet.address });

try {
Expand Down

0 comments on commit b5d799d

Please sign in to comment.