Skip to content

Commit

Permalink
fix optional hash
Browse files Browse the repository at this point in the history
  • Loading branch information
maartyman committed Jan 2, 2025
1 parent 0800b5f commit 9cf4d66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class IncrementalOptionalHash extends IncrementalInnerJoin {
return false;
}

if (array.length < 2 && array[0].equals(item)) {
if (array.length == 1 && array[0].equals(item)) {
memory.delete(hash);
return true;
}
Expand Down

0 comments on commit 9cf4d66

Please sign in to comment.