Skip to content

Commit ce7718c

Browse files
committed
Transaction receipts in Ganache do not return logsBloom; making it optional.
1 parent 1ec8f9c commit ce7718c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/provider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ var formatTransactionReceipt = {
296296
transactionIndex: checkNumber,
297297
root: allowNull(checkHash),
298298
gasUsed: utils.bigNumberify,
299-
logsBloom: utils.hexlify,
299+
logsBloom: allowNull(utils.hexlify),
300300
blockHash: checkHash,
301301
transactionHash: checkHash,
302302
logs: arrayOf(checkTransactionReceiptLog),

0 commit comments

Comments
 (0)