Skip to content

Commit 3a1d656

Browse files
committed
Fix archiver
1 parent e172b60 commit 3a1d656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yarn-project/archiver/src/archiver/archiver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ export class Archiver extends (EventEmitter as new () => ArchiverEmitter) implem
358358
// We only do this if rollup cant prune on the next submission. Otherwise we will end up
359359
// re-syncing the blocks we have just unwound above. We also dont do this if the last block is invalid,
360360
// since the archiver will rightfully refuse to sync up to it.
361-
if (!rollupCanPrune && !rollupStatus.lastBlockValidationResult.valid) {
361+
if (!rollupCanPrune && rollupStatus.lastBlockValidationResult.valid) {
362362
await this.checkForNewBlocksBeforeL1SyncPoint(rollupStatus, blocksSynchedTo, currentL1BlockNumber);
363363
}
364364

0 commit comments

Comments
 (0)