Skip to content

Commit ad6644a

Browse files
authored
fix: fall back to next scope when no restore keys (#229)
1 parent 935d453 commit ad6644a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ export class Storage {
425425
type: 'prefixed-primary' as const,
426426
}
427427

428-
if (restoreKeys.length === 0) return
428+
if (restoreKeys.length === 0) continue
429429

430430
for (const key of restoreKeys) {
431431
const exactMatch = await this.db

0 commit comments

Comments
 (0)