@aztec/aztec-node 4.0.0-devnet.2-patch.3 → 4.0.0-devnet.3-patch.0

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.
@@ -309,9 +309,9 @@ export class Sentinel extends (EventEmitter as new () => WatcherEmitter) impleme
309
309
  return false;
310
310
  }
311
311
 
312
- const archiverSlot = await this.archiver.getL2SlotNumber();
313
- if (archiverSlot === undefined || archiverSlot < targetSlot) {
314
- this.logger.debug(`Waiting for archiver to sync with L2 slot ${targetSlot}`, { archiverSlot, targetSlot });
312
+ const syncedSlot = await this.archiver.getSyncedL2SlotNumber();
313
+ if (syncedSlot === undefined || syncedSlot < targetSlot) {
314
+ this.logger.debug(`Waiting for archiver to sync with L2 slot ${targetSlot}`, { syncedSlot, targetSlot });
315
315
  return false;
316
316
  }
317
317