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

Commit 55ed588

Browse files
vubvub
authored andcommitted
Block inherits log listeners from parent
1 parent 52a2ab8 commit 55ed588

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ethereum/blocks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ def init_from_parent(cls, parent, coinbase, nonce=b'', extra_data=b'',
555555
block = Block(header, [], uncles, env=env or parent.env,
556556
parent=parent, making=True)
557557
block.ancestor_hashes = [parent.hash] + parent.ancestor_hashes
558+
block.log_listeners = parent.log_listeners
558559
return block
559560

560561
def check_fields(self):

0 commit comments

Comments
 (0)