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

Commit e890b1a

Browse files
committed
Continue to return None when we encounter a known transaction in add_transaction
1 parent 6a14802 commit e890b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethereum/chain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def add_transaction(self, transaction):
345345
log.debug('add tx', num_txs=self.num_transactions(), tx=transaction, on=head_candidate)
346346
if self.head_candidate.includes_transaction(transaction.hash):
347347
log.debug('known tx')
348-
return False
348+
return
349349
old_state_root = head_candidate.state_root
350350
# revert finalization
351351
head_candidate.state_root = self.pre_finalize_state_root

0 commit comments

Comments
 (0)