diff --git a/yarn-project/pxe/src/synchronizer/synchronizer.ts b/yarn-project/pxe/src/synchronizer/synchronizer.ts index 36185e186df..6a2e1256738 100644 --- a/yarn-project/pxe/src/synchronizer/synchronizer.ts +++ b/yarn-project/pxe/src/synchronizer/synchronizer.ts @@ -339,7 +339,11 @@ export class Synchronizer { * Retry decoding any deferred notes for the specified contract address. * @param contractAddress - the contract address that has just been added */ - public async reprocessDeferredNotesForContract(contractAddress: AztecAddress) { + public reprocessDeferredNotesForContract(contractAddress: AztecAddress): Promise { + return this.jobQueue.put(() => this.#reprocessDeferredNotesForContract(contractAddress)); + } + + async #reprocessDeferredNotesForContract(contractAddress: AztecAddress): Promise { const deferredNotes = await this.db.getDeferredNotesByContract(contractAddress); // group deferred notes by txHash to properly deal with possible duplicates