mirror of https://github.com/nucypher/nucypher.git
Add TODO concerning the case of the transaction tracker being outdated wrt to the actual mempool. References #2429
Co-authored-by: Bogdan Opanchuk <bogdan@opanchuk.net>pull/2425/head
parent
471ebb11a0
commit
031474cf22
|
@ -641,7 +641,7 @@ class WorkTracker:
|
||||||
return True # OK!
|
return True # OK!
|
||||||
if txs_in_mempool > len(self.__pending): # We're missing some pending TXs
|
if txs_in_mempool > len(self.__pending): # We're missing some pending TXs
|
||||||
return False
|
return False
|
||||||
else: # TODO: What to do when txs_in_mempool < len(self.__pending)? What does this imply?
|
else: # TODO #2429: What to do when txs_in_mempool < len(self.__pending)? What does this imply?
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def __track_pending_commitments(self) -> bool:
|
def __track_pending_commitments(self) -> bool:
|
||||||
|
|
Loading…
Reference in New Issue