We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e172b60 commit 3a1d656Copy full SHA for 3a1d656
yarn-project/archiver/src/archiver/archiver.ts
@@ -358,7 +358,7 @@ export class Archiver extends (EventEmitter as new () => ArchiverEmitter) implem
358
// We only do this if rollup cant prune on the next submission. Otherwise we will end up
359
// re-syncing the blocks we have just unwound above. We also dont do this if the last block is invalid,
360
// since the archiver will rightfully refuse to sync up to it.
361
- if (!rollupCanPrune && !rollupStatus.lastBlockValidationResult.valid) {
+ if (!rollupCanPrune && rollupStatus.lastBlockValidationResult.valid) {
362
await this.checkForNewBlocksBeforeL1SyncPoint(rollupStatus, blocksSynchedTo, currentL1BlockNumber);
363
}
364
0 commit comments