We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7bb078 commit b30857eCopy full SHA for b30857e
lib/bitfield.js
@@ -460,7 +460,7 @@ module.exports = class Bitfield {
460
}
461
462
static async open (storage) {
463
- const last = await storage.peakLastBitfieldPage()
+ const last = await storage.peekLastBitfieldPage()
464
if (last === null) return new Bitfield(storage, null)
465
466
const buffer = b4a.alloc((last.index + 1) * BYTES_PER_PAGE)
0 commit comments