@rango-dev/queue-manager-rango-preset 0.1.10-next.101 → 0.1.10-next.103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1227,6 +1227,7 @@ function onDependsOnOtherQueues(_event, meta) {
1227
1227
  }
1228
1228
  var claimerId = claimedBy();
1229
1229
  var isClaimedByAnyQueue = !!claimerId;
1230
+ if (claimerId === queue.id) return;
1230
1231
  // Check if any queue `claimed` before, if yes, we don't should do anything.
1231
1232
  if (isClaimedByAnyQueue) {
1232
1233
  // We need to keep the latest swap messages
@@ -1258,7 +1259,7 @@ function onDependsOnOtherQueues(_event, meta) {
1258
1259
  resetClaimedBy: function resetClaimedBy() {
1259
1260
  reset();
1260
1261
  // TODO: Use key generator
1261
- retryOn(type + "-" + network + "-" + address, context.notifier, manager);
1262
+ retryOn(type + "-" + network + ":" + address, context.notifier, manager);
1262
1263
  }
1263
1264
  });
1264
1265
  }
@@ -2439,7 +2440,7 @@ function _executeTransaction() {
2439
2440
  We only run one request at a time (In parallel mode).
2440
2441
  */
2441
2442
  needsToBlockQueue = isNeedBlockQueueForParallel(currentStep);
2442
- if (!(needsToBlockQueue && !isClaimed && context.claimedBy)) {
2443
+ if (!(needsToBlockQueue && !isClaimed)) {
2443
2444
  _context.next = 20;
2444
2445
  break;
2445
2446
  }