Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Nov 7, 2023
1 parent 5f922e5 commit fe02f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pds/src/read-after-write/viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class LocalViewer {
.orderBy('record.repoRev', 'asc')
.execute()
// sanity check to ensure that the clock received is not before _all_ local records (for instance in case of account migration)
if (res.length > 1) {
if (res.length > 0) {
const sanityCheckRes = await this.actorDb.db
.selectFrom('record')
.selectAll()
Expand Down

0 comments on commit fe02f99

Please sign in to comment.