diff --git a/packages/ethereum/ethereum/src/miner/miner.ts b/packages/ethereum/ethereum/src/miner/miner.ts index 3cb1684d9c..6c1621c273 100644 --- a/packages/ethereum/ethereum/src/miner/miner.ts +++ b/packages/ethereum/ethereum/src/miner/miner.ts @@ -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) =>