Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
fix: block bloom filter (#4535)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch authored Dec 18, 2023
1 parent 1c9b995 commit ca2965e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ethereum/ethereum/src/miner/miner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export type BlockData = {

const updateBloom = (blockBloom: Buffer, bloom: Buffer) => {
let i = 256;
while (--i) blockBloom[i] |= bloom[i];
while (i--) blockBloom[i] |= bloom[i];
};

const sortByPrice = (values: TypedTransaction[], a: number, b: number) =>
Expand Down

0 comments on commit ca2965e

Please sign in to comment.