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
David Núñez 2020-11-09 00:16:49 +01:00 committed by GitHub
parent 471ebb11a0
commit 031474cf22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ class WorkTracker:
return True # OK!
if txs_in_mempool > len(self.__pending): # We're missing some pending TXs
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
def __track_pending_commitments(self) -> bool: