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

Commit

Permalink
off by 1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch authored Oct 8, 2023
1 parent 040428f commit 0ec4a93
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 0ec4a93

Please sign in to comment.