Skip to content

Commit

Permalink
Remove defensive code
Browse files Browse the repository at this point in the history
  • Loading branch information
masonforest committed Apr 23, 2020
1 parent 1720c2f commit 3416b9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: "3"
version: "3.7"

services:

rollup-full-node:
volumes:
- full-node-data:/mnt/full-node:rw
- .:/mnt/full-node:rw
- l1-node-data:/mnt/l1-node:rw
- l2-node-data:/mnt/l2-node:rw
depends_on:
Expand Down
4 changes: 1 addition & 3 deletions packages/rollup-full-node/src/app/web3-rpc-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,7 @@ export class DefaultWeb3Handler
: transactionOrHash
if (transactionHash) {
const receipt = await this.getTransactionReceipt(transactionHash)
if (receipt && receipt.logsBloom) {
logsBloom.or(new BloomFilter(hexStrToBuf(receipt.logsBloom)))
}
logsBloom.or(new BloomFilter(hexStrToBuf(receipt.logsBloom)))
}
})
)
Expand Down

0 comments on commit 3416b9e

Please sign in to comment.