Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 67196d4

Browse files
pipermerriamkonradkonrad
authored andcommitted
use byte strings
cherry picked: 679c564 Conflicts: ethereum/blocks.py ethereum/vm.py
1 parent 7b27f4c commit 67196d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethereum/blocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ def _delta_item(self, address, param, value):
792792
def mk_transaction_receipt(self, tx):
793793
"""Create a receipt for a transaction."""
794794
if self.number >= self.config["METROPOLIS_FORK_BLKNUM"]:
795-
return Receipt('\x00' * 32, self.gas_used, self.logs)
795+
return Receipt(b'\x00' * 32, self.gas_used, self.logs)
796796
else:
797797
return Receipt(self.state_root, self.gas_used, self.logs)
798798

0 commit comments

Comments
 (0)