From 2c8b29ec8f9c7cfa42bd610d44c8fb4b42e9279b Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Sun, 25 Feb 2024 13:19:35 -0700 Subject: [PATCH] permit futuristic revisions --- client/lib/patch-db.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/client/lib/patch-db.ts b/client/lib/patch-db.ts index 8cdc983..4051150 100644 --- a/client/lib/patch-db.ts +++ b/client/lib/patch-db.ts @@ -152,12 +152,6 @@ export class PatchDB { if (this.isRevision(update)) { const expected = cache.sequence + 1 if (update.id < expected) return - if (update.id > expected) { - return console.error( - // unreachable - `Received futuristic revision. Expected ${expected}, got ${update.id}`, - ) - } this.handleRevision(update, cache) } else { this.handleDump(update, cache)