iotaledger / iri

IOTA Reference Implementation
Other
1.15k stars 371 forks source link

Only remove seen milestone if applied to ledger #1855

Closed DyrellC closed 4 years ago

DyrellC commented 4 years ago

Description of change

When a transaction fails to get applied to the ledger due to the need to correct some form of corruption in ledger state, we should not remove it from the seen milestones queue so that the attempts to reset the milestone don't stop.

Type of change

How the change has been tested

In ICC tests when milestone failed to solidify it continued to try to reset the corruption rather than trying once and removing it from the seen milestones queue.

Change checklist