Closed yzang2019 closed 7 months ago
When PendingTxs is full, canAddPendingTx fails here, and the removeHandler doesn’t execute. This behavior prevent the addition of identical transactions, as an tx already exists in cache error occurs here.
Added unit test coverage
Describe your changes and provide context
When PendingTxs is full, canAddPendingTx fails here, and the removeHandler doesn’t execute. This behavior prevent the addition of identical transactions, as an tx already exists in cache error occurs here.
Testing performed to validate your change
Added unit test coverage