Skip to content

Commit

Permalink
condition should be >=
Browse files Browse the repository at this point in the history
  • Loading branch information
chm-diederichs committed Jun 13, 2024
1 parent 07c5a0f commit 12ba775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ module.exports = class Autobase extends ReadyResource {
writers.set(hex, w)
}

if (w.writer.length > length) continue
if (w.writer.length >= length) continue

if (length > w.end) w.end = length

Expand Down

0 comments on commit 12ba775

Please sign in to comment.